-
-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS build failing (cocoapods) #35
Comments
I suggest cloning and trying to build this example project. |
i tried building your example project, but it failed to build through the cli for some reason - unrelated to this issue though. it did build in xcode, and so does my project, as it turns out. since we were using an old version of cordova-ios, i figured i'd try out the latest version of it (5.0.1). using the latest version works. not sure if anyone else has had success building with cordova-ios 4.3.1? is anyone even using that version anymore? we still need ios 8 support, unfortunately. so we can't update to the latest version just yet. looks like the plugin is all good! i just want to say thanks for replying and for maintaining this plugin. it really helped us out getting our android build working again 👍 |
There is an outstanding issue with building iOS from the CLI: #22 |
Describe the bug
ios build fails as the build tools cannot find/build the frameworks installed via cocoapods.
To Reproduce
this is restoring a platform after removing the plugins, platforms and node_modules directories.
cordova prepare ios
it looks like it has installed the plugin correctly.
but when it runs the podify.js hook 'after_prepare' it hasn't found any pods to install. if i cd into the xcode project dir and run
pod install
manually, still cannot find them as the pod file is still empty.if i run
cordova prepare ios
a second time, podify.js does find the pods and installs them.then, when i try to build
cordova run ios --noprepare --device --debug
it looks like it errors trying to use the dependencies of the dependencies listed in the pod file.but looking back through the console log...
the linker cannot find any of the frameworks. i checked those paths in 'DerivedData' dir and there is nothing there. interestingly, the path to the xcode project pod dir has a nested '/Pods/' that isn't meant to be there. e.g.
/platforms/ios/Pods/Pods/Crashlytics/iOS
.i hope someone can point me in the right direction where it's going wrong. i've been looking at this for a couple of days now and i'm stumped. any help is greatly appreciated.
for android, it works totally fine!
Expected behavior
install plugin and setup/install pod file dependencies after the first time run
cordova prepare ios
, so ios app builds successfully.Plugin Version
cordova-plugin-firebasex 3.0.8 "Google Firebase Plugin"
other stuff:
xcode 10.1
cordova 8.0 & 9.0
cordova-ios 4.3.1
node 8.12.0
npm 6.4.1
The text was updated successfully, but these errors were encountered: