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

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. :)

Related

Azure pipeline fails during xcode build for iOS project

Trying to build iOS project with xcode build. Using -
Xcode 12.4
Agent Specification - macOS-10.15
Workspace or project path - Project.xcworkspace
Configuration - Release (Tried with Debug also, it gives more error)
Scheme -valid name
SDK - iphoneos
Now After xcode build using Azure pipeline give following error.
We can build this xcode on locally and Gitlab too. But same code is failing on Azure Devops.
Kindly help.
2021-05-12T13:00:30.6465950Z ❌ /Users/runner/work/1/s/Project/Framework/csdk_common.framework/Modules/module.modulemap:2:19: umbrella header 'csdk_common.h' not found
2021-05-12T13:00:30.6466920Z
2021-05-12T13:00:30.6468430Z umbrella header "csdk_common.h"
2021-05-12T13:00:30.6471390Z ^
2021-05-12T13:00:30.6471830Z
2021-05-12T13:00:30.6472160Z
2021-05-12T13:00:30.6472470Z
2021-05-12T13:00:30.6473810Z ❌ /Users/runner/work/1/s/Project/TTS/main_internal.swift:2:8: could not build Objective-C module 'csdk_common'
2021-05-12T13:00:30.6474420Z
2021-05-12T13:00:30.6475000Z import csdk_common
2021-05-12T13:00:30.6475580Z ^
2021-05-12T13:00:30.6475930Z
2021-05-12T13:00:30.6476250Z
2021-05-12T13:00:30.6730310Z ** BUILD FAILED **
2021-05-12T13:00:30.6731680Z
2021-05-12T13:00:30.6732100Z
2021-05-12T13:00:30.6732840Z The following build commands failed:
2021-05-12T13:00:30.6733510Z CompileSwift normal arm64
2021-05-12T13:00:30.6740330Z CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
2021-05-12T13:00:30.6746120Z (2 failures)
2021-05-12T13:00:30.7025590Z ##[error]Error: /usr/bin/xcodebuild failed with return code: 65
2021-05-12T13:00:30.7365340Z ##[section]Finishing: Xcode build
Please check the repos branch, and make sure you have added this under framework header file. Maybe you did not push the right project and necessary part into the azure devops repos.
#import "xxx\csdk_common.h"
More info you could check this issue and that.

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

Firebase & Google Signin module conflicting in appcelerator

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

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.

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