简体   繁体   中英

Ionic Xcode build, Apple Mach-O Linker Error

I know this has been posted about a million times but I still can't figure out what's going on.

This is an Ionic 3 project that already works and builds fine on Android. I am now trying to build it for iOS and I'm getting this error when building in Xcode. I already checked my Link Binary With Libraries build phase and there are no pod files in there. Also I am in the .xcworkspace file, not the .xcodeproj.

Apple Mach-O Linker Error
    Linker command failed with exit code 1

When I build using ionic cordova build ios I get an error code 65 for build command xcodebuild.

Edit: After some more digging I think I found a more specific error, Framework not found FileProvider for architecture x86_64 .

I would like to give an alternative here. That is you can use Ionic Package service.

Ionic Packages makes it easy to build a native binary of your app in the cloud. Perfect for developers using Windows that want to build iOS apps.

This lets you:

  • Send your packaged app to others
  • Build your app for platforms not supported by your computer (eg iOS builds on Windows)
  • Build .ipa and .apk files that you can submit to app stores

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM