Comments (7)
After move
"devDependencies": {
"cordova-android": "^9.0.0",
"cordova-ios": "^6.1.1",
...
},
to
"dependencies": {
"cordova-android": "^9.0.0",
"cordova-ios": "^6.1.1",
...
},
success
Using cordova-fetch for cordova-ios@^6.1.1
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: uk.co.workingedge.firebase.test
Name: FirebaseTest
iOS project created with [email protected]
Installing "cordova-plugin-customfcmreceiver" for ios
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for ios
Adding cordova-plugin-whitelist to package.json
Discovered saved plugin "cordova-plugin-firebasex". Adding it to the project
Installing "cordova-plugin-firebasex" for ios
Ignoring unf_ext-0.0.7.6 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.6
Running command: pod install --verbose
Ignoring unf_ext-0.0.7.6 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.6
[!] The `FirebaseTest [Debug]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-FirebaseTest/Pods-FirebaseTest.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `FirebaseTest [Release]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-FirebaseTest/Pods-FirebaseTest.release.xcconfig'. This can lead to problems with the CocoaPods installation
[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.
Adding cordova-plugin-firebasex to package.json
Discovered saved plugin "cordova-custom-config". Adding it to the project
Installing "cordova-custom-config" for ios
Adding cordova-custom-config to package.json
Discovered saved plugin "cordova-plugin-dialogs". Adding it to the project
Installing "cordova-plugin-dialogs" for ios
Adding cordova-plugin-dialogs to package.json
Discovered saved plugin "cordova-plugin-enable-multidex". Adding it to the project
Installing "cordova-plugin-enable-multidex" for ios
Adding cordova-plugin-enable-multidex to package.json
Discovered saved plugin "cordova-plugin-androidx-adapter". Adding it to the project
Installing "cordova-plugin-androidx-adapter" for ios
Adding cordova-plugin-androidx-adapter to package.json
Discovered saved plugin "cordova-plugin-hello-c". Adding it to the project
Installing "cordova-plugin-hello-c" for ios
Adding cordova-plugin-hello-c to package.json
Overwriting existing resource file at platforms/ios/FirebaseTest/Resources/res/ios/sound/blackberry.caf
Overwriting existing resource file at platforms/ios/FirebaseTest/Resources/res/ios/sound/crystal.caf
Overwriting existing resource file at platforms/ios/FirebaseTest/Resources/res/ios/sound/msn.caf
Overwriting existing resource file at platforms/ios/FirebaseTest/Resources/res/ios/pn-actions.json
cordova-plugin-firebasex: Preparing Firebase on iOS
cordova-plugin-firebasex: Applied IOS_STRIP_DEBUG to Podfile
from cordova-plugin-firebasex-test.
After
cordova run ios
I get
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'FirebaseAuth' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'FirebaseABTesting' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'AppAuth' from project 'Pods')
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/admin/Library/Developer/Xcode/DerivedData/FirebaseTest-hjhuhmzxnjwfcudxhrjwtesybxwd/Build/Intermediates.noindex/FirebaseTest.build/Debug-iphonesimulator/FirebaseTest.build/Script-206522D0329F347DF1501CAA.sh
(1 failure)
xcodebuild: Command failed with exit code 65
from cordova-plugin-firebasex-test.
Then I add to Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
end
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] == '8.0'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end
Run
pod repo update --verbose
pod install --verbose
cordova run ios
fix previous error but now I get
problem simular dpa99c/cordova-plugin-firebasex#326
InAppMessagingDisplayResources.bundle" not found. Run 'pod install' to update the copy resources script.
from cordova-plugin-firebasex-test.
InAppMessagingDisplayResources.bundle" not found. Run 'pod install' to update the copy resources script.
Either build in Xcode or add the CLI version of the plugin:
cordova plugin rm cordova-plugin-firebasex --nosave && cordova plugin add cordova-plugin-firebasex@latest-cli
from cordova-plugin-firebasex-test.
@dpa99c Thank you for your comment. It helped to run test project.
from cordova-plugin-firebasex-test.
In my own project I get:
with 8.0.1 version
platforms/ios/Runner/Plugins/cordova-plugin-firebasex/FirebasePlugin.m:5:9: fatal error: 'Fabric/Fabric.h' file not found
#import <Fabric/Fabric.h>
with 11.0.1-cli version
platforms/ios/Runner/Plugins/cordova-plugin-firebasex/FirebasePlugin.h:4:9: fatal error: module 'FirebaseFirestore' not found
@import FirebaseFirestore;
I don't know what to do next.
from cordova-plugin-firebasex-test.
with 8.0.1 version
don't use v8.0.1 - it's out-of-date and Fabric is no longer supported.
with 11.0.1-cli version
looks to be a problem with the Firestore module, could be due to a Cocoapods issue - see here for some advice.
However I'm closing this issue as you can now build+run this example project.
from cordova-plugin-firebasex-test.
Related Issues (20)
- Error building ios in xcode 9.2 HOT 3
- iOS build error "cocoapods version is out-of-date" HOT 1
- Failed to fetch platform cordova-ios@^5.0.0 HOT 5
- Custom message handling when app is closed
- Failing build from fresh clone HOT 2
- Now FirebaseInstanceId.getInstance().getToken() is deprecated. HOT 1
- Error 10, Unknown server client ID when authenticate with Google HOT 5
- What is controlling the icon color on Android? HOT 1
- Can't build with Xcode 13.3.1 HOT 1
- Build error on Xcode 13.4.1 with IPHONEOS_DEPLOYMENT_TARGET (possible fix) HOT 1
- Command PhaseScriptExecution failed with a nonzero exit code HOT 1
- FirebasePlugin.getToken returns null HOT 5
- I do not receive notifications on iOS HOT 1
- Recently got error with this plugin in cordova ios
- Default Notification Accent Color in Android HOT 3
- Notification Not Received When App Closed HOT 2
- Issue While setting-up Test project HOT 2
- Unable to build for iOS - pods issue? HOT 3
- Get APNS returning null value HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-firebasex-test.