Closed pipoa closed 3 years ago
Sorry for the error. Thanks for the report. I will investigate. I would like to know the following
I stopped using carthage and started using cocoapods, so I'm not using cordova-plugin-carthage-support.
Sorry for the error. Thanks for the report. I will investigate. I would like to know the following
- Do you have cocoapods installed? (What's your version?)
- Will building from xcode be successful?
I stopped using carthage and started using cocoapods, so I'm not using cordova-plugin-carthage-support.
yes pod --version 1.9.3
You can see step 5~6. , without carthage, there is a LineSDKSwift/LineSDK.modulemap error with carthage, project can be build / deploy to device by xcode without problems
Sorry it's hard to understand. I would like to know the result of pressing the build button on xcode instead of the ionic command.
I'm sorry for repeating myself. I was able to confirm that the command line build would cause an error. I have PUBLISHED the fixed version 1.2.11.
You can see step 5~6. , without carthage, there is a LineSDKSwift/LineSDK.modulemap error with carthage, project can be build / deploy to device by xcode without problems
You should now be able to build from the command line without using carthage. Maybe you need "cd platform ios && pod install"?
I'd like to close this issue once it's resolved.
I'd like to close this issue once it's resolved.
still failed, command line:
#import "LineSDK-Bridging-Header.h"
^
1 error generated.
<unknown>:0: error: failed to emit precompiled header '/Users/avex/projects/ws_gassist/ipifa/platforms/ios/build/sharedpch/Bridging-Header-swift_9ESQ09KB95AS-clang_3KMP2AFIR4FAO.pch' for bridging header '/Users/avex/projects/ws_gassist/ipifa/platforms/ios/愛批發/Bridging-Header.h'
** ARCHIVE FAILED **
Xcode build with fail, point to the same error
#import <Cordova/CDV.h>
#import "LineSDK-Bridging-Header.h" <---- 'LineSDK-Bridging-Header.h' file not found
I tried to find that file but nothing found: $ find . -iname LineSDK-Bridging-Header.h nothing found for the search of LineSDK-Bridging-Header.h
Could you please clean up the platform and plugins?
$ ionic cordova plugin rm cordova-line-login-plugin
$ ionic cordova platform rm ios
Then reinstall it again.
I may have missed something yet, so let me know if it doesn't work. I'd also like to know what version of xcode you are using.
After reinstall, everything runs well. 🎉🎉🎉
build ok
run device ok
login ok - "User cancelled or interrupted the login process" problem gone. (used to be happened in versions > 1.2.8)
Thanks for build/maintain this wonderful plugin, thank you.👍👍👍
Finally, I successfully upgrade from cordova-line-login-plugin@1.2.2 + cordova-plugin-carthage-support@0.1.1 --- to ---> cordova-line-login-plugin@1.2.11
ok thanks.
As title, is there any standard installation document for cordova-line-login-plugin? There are too many installation problems.....
The way to repreduce errors:
create a blank cordova project $ ionic start myApp tabs $ cd myApp/ $ ionic integrations enable cordova
add line-login plugin ionic cordova plugin add cordova-line-login-plugin
add UseSwiftLanguageVersion to config.xml
add ios platform
$ ionic cordova platform add ios
list cordova plugins $ ionic cordova plugin ls
no "cordova-plugin-carthage-support" installed?
buid ios anyway
$ ionic cordova build ios no signing key, open MyApp.xcworkspace fix signing problem and rebuild again $ ionic cordova build ios
ERROR OCCURRED
install carthage support ionic cordova plugin add cordova-plugin-carthage-support
rebuild ios $ ionic cordova build ios
PASSED
here..... cordova-plugin-carthage-support post run-script crashed cordova run procedure without any error message app package is built, but nothing in real iphone device