具体错误如下
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/wuqin/Documents/zrxiangmu/校园项目/smartsite-ionic2/platforms/ios/build/emulator
SDKROOT = iphonesimulator13.2
SHARED_PRECOMPS_DIR = /Users/wuqin/Documents/zrxiangmu/校园项目/smartsite-ionic2/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/wuqin/Documents/zrxiangmu/校园项目/smartsite-ionic2/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
FIXME: Implement XCBuild support for macros in overriding parameters with condition sets:
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
解决方式
Go to Xcode and open the project generated then navigate -> File -> Workspace Settings -> Build System and select “Legacy Build System”
参考链接:https://stackoverflow.com/questions/52414794/ionic-cordova-build-ios-emulator-dont-show-fail-or-success-build