Closed sebasl87 closed 4 years ago
I solved this...
1- remove platform ios in vscode terminal integrated (ionic cordova platform rm ios) 2- add latest platform ios in vscode terminal integrated(ionic cordova platform add ios@latest) 3- in folder "myapp"/platforms/ios i ran: pod update (in vscode terminal integrated). Before copy/paste this inside podfile:
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '11.0' use_frameworks! target 'myselfHotel App' do project 'myselfHotel App.xcodeproj' pod 'FBSDKCoreKit', '5.7.0' pod 'FBSDKLoginKit', '5.7.0' pod 'FBSDKShareKit', '5.7.0' end
4- in folder "myapp"/platforms/ios i ran: pod install (in vscode terminal integrated) 5- I open xcode 6- clean the project (Product/Clean Build Folder) 7- build the project (Product/Build) 8- and just to double check i ran: ionic cordova build ios --prod (in vscode terminal integrated)
AND BUILD SUCCEDED
Bug or feature request
[x ] I'm reporting a reproducible issue with the code [ ] I'm reporting a feature request
Describe the Bug of feature request
When I try do IONIC CORDOVA BUILD IOS --PROD I get BUILD FAILED
Expected Behavior
Please I need resolved this. I try all possible. I remove and add platform, I remove an add differents version of cordova-plugin-facebook4, I try to build my project in XCODE from .xcworkspace, I read and prove differents blogs and issues but I can't resolve it.
Sample repo
BUILD FAILED
The following build commands failed: CompileC /Users/sebastianloguzzo/Library/Developer/Xcode/DerivedData/myselfHotel_App-dlvocoeyfvuhfldaombunceenqhs/Build/Intermediates.noindex/myselfHotel\ App.build/Debug-iphonesimulator/myselfHotel\ App.build/Objects-normal/x86_64/FacebookConnectPlugin.o /Users/sebastianloguzzo/Desktop/myselfHotel/platforms/ios/myselfHotel\ App/Plugins/cordova-plugin-facebook4/FacebookConnectPlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
Plugin version, OS, devices, etc
IONIC 6.10.1 CORDOVA 9.0.0 (cordova-lib@9.0.1) cordova-ios 6.0.0 cordova-plugin-facebook4 6.2.0 Xcode 11.5 (11E608c)
Additional Context
cordova plugins:
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx" cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter" cordova-plugin-camera 4.1.0 "Camera" cordova-plugin-cocoapod-support 1.6.2 "Cordova CocoaPods Dependency Support" cordova-plugin-device 2.0.2 "Device" cordova-plugin-facebook4 6.2.0 "Facebook Connect" cordova-plugin-googleplus 8.4.0 "Google SignIn" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist"