Firebase & Google Signin module conflicting in appcelerator - ios

I have been using firebasemodule & googlesignin module in iOS, when I build both modules together then we get below error:
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld
/Users/admin/Documents/Appcelerator_Studio_Workspace/testt/build/iphone/build/Products/Debug-iphonesimulator/testt.app/testt
normal x86_64
[ERROR] : (1 failure)
Later combine both module code into a single module, Module building & created properly but when I used the same module in My application again I got the same error as above.
link for both module
https://github.com/hansemannn/titanium-google-signin
https://github.com/hansemannn/titanium-firebase-core

Related

Oracle JET : Unable to build ojet hybrid project after upgrading xcode to Version 12.0 (12A7209)

This morning I updated my xcode to Version 12.0 (12A7209) and since then I am not able to build the project for ios
Replication steps
ojet create testapp --template=navbar
cd testapp
ojet add hybrid
ojet build ios
Getting the below error
.........
In module 'Foundation' imported from /Users/hellonuh/Desktop/testapp/hybrid/platforms/ios/build/emulator/include/Cordova/CDVAppDelegate.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:595:1: note: 'stringByAddingPercentEscapesUsingEncoding:' has been explicitly marked deprecated here
- (nullable NSString *)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)enc API_DEPRECATED("Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid.", macos(10.0,10.11), ios(2.0,9.0), watchos(2.0,2.0), tvos(9.0,9.0));
^
3 warnings and 3 errors generated.
Cordova compile finished.
Error: Error: Command failed: cordova compile ios --debug --emulator
** BUILD FAILED **
The following build commands failed:
CompileC /Users/hellonuh/Library/Developer/Xcode/DerivedData/testapp-hfsgwahghfnpzecdcshskgzlpyep/Build/Intermediates.noindex/testapp.build/Debug-iphonesimulator/testapp.build/Objects-normal/x86_64/CDVWKWebViewEngine.o /Users/hellonuh/Desktop/testapp/hybrid/platforms/ios/testapp/Plugins/cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
xcodebuild: Command failed with exit code 65
Please help

React Native build error: GeneratedInfoPlistDotEnv.h' file not found

I am not using react-native-config here. Still during react-native run-ios I am getting below error.
:1:10: fatal error: '/Users/anurag/cmg/cmg/cmg_app/ios/build/Build/Products/GeneratedInfoPlistDotEnv.h' file not found
include "/Users/anurag/cmg/cmg/cmg_app/ios/build/Build/Products/GeneratedInfoPlistDotEnv.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
Preprocess build/Build/Intermediates.noindex/cmg_app.build/Debug-iphonesimulator/cmg_app.build/Preprocessed-Info.plist cmg_app/Info.plist
(1 failure)
Thanks in Advance

Apcelerator ios Build Failed issue

I have iOS app which is working fine if I run it without adding gplus module. As soon as I add it in my project it gives below error.
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Products/Debug-iphonesimulator/ABC.app/ABC normal x86_64
[ERROR] : (1 failure)
I tried to rebuild the module on my own for this source code and added the module in my app, still same issue exist.
Below is my configuration:
Mac OS : Mac OS X (10.13.3)
Node.js Version : 8.9.1
npm Version : 5.5.1
CLI Version : 5.1.1
SDK Version : 7.2.0.GA
Xcode : 9.4.1
Gplus Module Source Code version: 1.4.0
I will be very thankful if you let me know, what I am doing wrong.

Appcelerator won't create build when I am using card.io module, module from gittio is com.likelysoft.cardio

I have added module com.likelysoft.cardio from gittio and trying to create build but it's showing me following error :
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/---\ --.build/Debug-iphoneos/--\ --.build/Obje normal/arm64/--\ -- normal arm64
[ERROR] : Ld build/--\ --.build/Debug-iphoneos/--\ --.build/Objects-normal/armv7/--\ -- normal armv7
[ERROR] : (2 failures)
But when I am trying to build project by removing this module from tiapp.xml, it works. (it's create build).
Also by adding this module it works on simulator. :(
where Actually I am going wrong ?
Thanks.
I have resolved this problem by Updating my xcode to 7 and Appcelerator SDK to 5.0.2 GA and it's working fine now, and I can create build now. :)

cordova mail plugin for ios stopped working

I'm using this plugin https://github.com/katzer/cordova-plugin-email-composer for composing a mail. But it suddenly stopped working and then I removed it. After adding it back when running cordova build ios it trows this error:
/usr/local/lib/node_modules/cordova/node_modules/q/q.js:126
throw e;
^
Error: An error occurred while building the ios project.** BUILD FAILED **
The following build commands failed:
Ld build/device/app.app/app normal armv7
(1 failure)
** BUILD FAILED **
The following build commands failed:
Ld build/emulator/app.app/app normal i386
(1 failure)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cordova/src/compile.js:65:22)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
Do you now how to fix this?
I tried changing cordova version to 3.0,3.1,3.2 but it still doesn't work(all other plugins work just fine).
If I add plugins before cordova build build passes but email plugin still doesnt work.

Resources