I have built a great app, but I can’t get it (or anything) to build for IOS. Android is not a problem.
I’ve tried xcode 7, 8, 9 and now 10.
Any help is appreciated!
I type:
meteor run ios
I get:
=> Errors executing Cordova commands:
While running Cordova app for platform iOS with options --emulator:
Error: Command failed: /Users/admin/src/mobile.callerip.ca/meteor/.meteor/local/cordova-build/platforms/ios/cordova/run --emulator
/Users/admin/src/mobile.callerip.ca/meteor/.meteor/local/cordova-build/platforms/ios/build/emulator/meteor.app/Info.plist file not found.
EDIT:
More importantly, all builds result for apple result in Swift errors, and CDV.h not found.
Well, I’m glad you brought it up! All of my xcode builds fail with SWIFT errors. I’ve tried with many versions of xcode, and I cannot get it to work.
I’d be so happy to have ANY ios related builds working.
Is there anyone who has a working build setup who can tell me the actual versions of xcode and swift they are using? I’m coming up on deadlines and I’ve been searching for the answers for weeks.
Thanks very much! It’s a little late, but I’m going to try to clean my machine of xCode and Swift, and then install those versions. I’ll post an update!
Amazing. It appears that swift relies on python, and for some reason, my apple system python cannot find some of its libraries. I’m investigating if this is the underlying problem.
Because of this, I now saw posts all over referencing to swift 3.4. I’m now figuring out how because only 3.3 and 4.1 where available when I tried before
Okay… I’m on 8.4.3 which includes Swift 3.1. I feel confident that this should work, but I get the same errors I’ve gotten from every version I’ve tried:
/Users/admin/src/mobile.callerip.ca/build/ios/project/Mobile/Bridging-Header.h:28:9: error: ‘Cordova/CDV.h’ file not found
#import <Cordova/CDV.h>
^
<unknown>:0: error: failed to import bridging header ‘/Users/admin/src/mobile.callerip.ca/build/ios/project/Mobile/Bridging-Header.h’
I still cannot compile. The required CDV.h file is in the project under .meteor/local but it is NOT in the xcodeproject created by running meteor build ios
Running meteor run ios-device results in the same CDV.h related errors under xcode.