I have just had to reinstall the OS on my Mac Mini. This same machine was able to build and deploy the app previously but not since the reinstall of the OS.
I am using Ionic 5.4 and cordova 8.1. Nothing seems to work. How can I get this deployed? I have pasted below both my ionic info as well as the output of the --verbose command.
Ionic Info:
Ionic CLI : 5.4.16
Ionic Framework : ionic-angular 3.9.10
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, (and 21 other plugins)
Utility:
cordova-res : not installed
native-run : 1.3.0
System:
ios-deploy : 1.11.4
NodeJS : v12.20.1 (/usr/local/bin/node)
npm : 6.14.10
OS : macOS Catalina
Xcode : Xcode 12.3 Build version 12C33
Output of the --verbose command:
Current launch storyboard CDVLaunchScreen
Not changing launch storyboard setting in info plist.
Wrote out iOS Bundle Identifier "com.app.Runner" and iOS Bundle Version "2.0.139" to /Users/user/Desktop/apps/app/platforms/ios/app/app-Info.plist
No need to update build settings for launch storyboard support.
iOS Product Name has not changed (still "app")
Updating icons at platforms/ios/app/Images.xcassets/AppIcon.appiconset/
Updating splash screens at platforms/ios/app/Images.xcassets/LaunchImage.launchimage/
Updating launch storyboard images at platforms/ios/app/Images.xcassets/LaunchStoryboard.imageset/
Updating Storyboard image set contents.json
Updating resource files at platforms/ios
Prepared iOS project successfully
Executing script found in plugin cordova-plugin-add-swift-support for hook "after_prepare": plugins/cordova-plugin-add-swift-support/add-swift-support.js
No scripts found for hook "before_compile".
Building project: /Users/user/Desktop/apps/app/platforms/ios/app.xcworkspace
Configuration: Debug
Platform: device
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -xcconfig /Users/user/Desktop/apps/app/platforms/ios/cordova/build-debug.xcconfig -workspace app.xcworkspace -scheme app -configuration Debug -destination generic/platform=iOS -archivePath app.xcarchive archive CONFIGURATION_BUILD_DIR=/Users/user/Desktop/apps/app/platforms/ios/build/device SHARED_PRECOMPS_DIR=/Users/user/Desktop/apps/app/platforms/ios/build/sharedpch
User defaults from command line:
IDEArchivePathOverride = /Users/user/Desktop/apps/app/platforms/ios/app.xcarchive
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/user/Desktop/apps/app/platforms/ios/build/device
SHARED_PRECOMPS_DIR = /Users/user/Desktop/apps/app/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/user/Desktop/apps/app/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/OneSignal/iOS_SDK/OneSignalSDK/Framework"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack"
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack"
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -framework "CoreGraphics" -framework "OneSignal" -framework "SystemConfiguration" -framework "UIKit" -framework "UserNotifications" -framework "WebKit"
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
2021-02-24 13:46:36.967 xcodebuild[72908:976134] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details: (null) deviceType from 0b85f46809491542662723b45e61bd33f98c4b5a was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fbe60d409e0>
Method: -platform
Thread: <NSThread: 0x7fbe61c556a0>{number = 7, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-02-24 13:46:37.213 xcodebuild[72908:976234] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details: (null) deviceType from 0b85f46809491542662723b45e61bd33f98c4b5a was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fbe60d409e0>
Method: -platform
Thread: <NSThread: 0x7fbe608b8600>{number = 8, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
FIXME: Implement XCBuild support for macros in overriding parameters with condition sets:
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
CordovaError: Promise rejected with non-error: 'Error code 1 for command: xcodebuild with args: -xcconfig,/Users/user/Desktop/apps/app/platforms/ios/cordova/build-debug.xcconfig,-workspace,app.xcworkspace,-scheme,app,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,app.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/user/Desktop/apps/app/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/user/Desktop/apps/app/platforms/ios/build/sharedpch'
at /usr/local/lib/node_modules/cordova/bin/cordova:30:15
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[ERROR] An error occurred while running subprocess cordova.
cordova build ios --device --verbose exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
ionic:utils-process onBeforeExit handler: 'process.exit' received +0ms
ionic:utils-process onBeforeExit handler: running 2 functions +0ms
ionic:utils-process processExit: exiting (exit code: 1) +79ms