the project was working fine but since i updated the xcode10 and to mac mojaveOS just problems ,for android works fine. And i already added the flag that i saw on gibhub from cordova link but none of those are making my project run, and if i open the project on xcode it wont even open.Just crash.
I had a problem similar to yours when I updated mojave on my mac and within the solutions they mentioned was that there was a problem with xcode 10 so the solution to my problem was to download xcode 9 and compile again and I did not have more compilation problems
the first solution i found was to downgrade to xcode 9.4.1 but now i cant run on devices with ios 12, so not the best solution ,with the new vesion had to remove ios platform and added it again, with the latest version of ios and it worked and build like this ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
I ran into the same issue; I was able to get the application to build and run on mojaveOs;
First make sure that you are using the latest version of the ionic cli.
Second remove the ios platform;
Third re-add the ios platform;
build the project using the same flags that you listed above.
Note: you will more that likely need to run the following command.
cd platforms/ios/cordova && npm install ios-sim@latest
I’ve updated to ios-sim 7.0.0 and still cannot build ios with this err:
[18:41:59] build dev finished in 10.63 s
[18:42:02] lint finished in 2.64 s
> cordova build ios
Generating initial manifest for Ionic Deploy...
Ionic Deploy initial manifest successfully generated.
Reading build config file:
CordovaError: Promise rejected with non-error: 'ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do \'npm install -g ios-deploy\''
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
[ERROR] An error occurred while running subprocess cordova.
cordova build ios exited with exit code 1.
xcode 10.1 is not working with ionic 5.0.0…linker command error
The following build commands failed:
Ld /Users/dev15/Desktop/username/ionic5/myProject/platforms/ios/build/emulator/myProject.app/myProject normal x86_64