meteor-ios
meteor-ios copied to clipboard
Application crashes when running on iPhone
App crashes when running on iPhone with the message:
dyld: Library not loaded: @rpath/InflectorKit.framework/InflectorKit
Referenced from: /private/var/mobile/Containers/Bundle/Application/*****
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/*****/Frameworks/InflectorKit.framework/InflectorKit: mach-o, but wrong architecture
/private/var/mobile/Containers/Bundle/Application/*****/Frameworks/InflectorKit.framework/InflectorKit: mach-o, but wrong architecture
/private/var/mobile/Containers/Bundle/Application/*****/Frameworks/InflectorKit.framework/InflectorKit: mach-o, but wrong architecture
Works fine on iPad. Both devices are running iOS 8.4. I installed meteor through cocoapods. Running the latest version of cocoapods, 0.38.2, and did both pod install
and pod update
.
i am having the same issue! @martijnwalraven any solution?
I get a series of errors telling me it has failed to code sign such things as InflectorKit, which came with the Meteor installation. I can code sign each of the projects that the Pods workspace includes, and once I get past that I can install the app on a device, but it crashes immediately, saying, "Library not loaded: @rpath/InflectorKit.framework/InflectorKit" in the device's crash log.
It has been a while since I worked on this, so this may be due to changes in newer versions of CocoaPods or Xcode. I won't have time to look into this for at least a few days, so please let me know if you find out anything!
@callmeahab did you find any resolution?
I thought I had it by changing the framework linking to optional, but then the library doesn't get loaded at all, and while the app doesn't crash, it can't interact with meteor, either.
I've created static frameworks using carthage, and it works fine in the simulator, but the minute you put it on a device it gives the same error "Library not loaded: @rpath/InflectorKit.framework/InflectorKit"
I had changed the frameworks to optional, and thought I had it, but then nothing worked in the app...
@sferoze I cloned the project repo to a new location, did pod install and ran it on iPhone first, and it works. May be an issue with the framework architecture. Now the app works on both iPhone and iPad.
@callmeahab
Thanks
I was able to build by doing the same. Cloning my project into a new location and then running 'pod install'