[AC-5459] I can not build my project after update
GitHub Issue | n/a |
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2017-12-27T22:13:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | ios |
Reporter | Kerberos |
Assignee | Shak Hossain |
Created | 2017-12-16T14:35:43.000+0000 |
Updated | 2018-01-06T19:50:05.000+0000 |
Description
I am getting erros as bellow. I clean my project also I reinstall Appclerator Studio but result is same.
[INFO] : Processing Titanium symbols
[INFO] : Removing files
[INFO] : Invoking xcodebuild
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Products/Debug-iphonesimulator/Reading.app/Reading normal x86_64
[ERROR] : (1 failure)
{color:red} appc info as below{color}
Appcelerator Command-Line Interface, version 7.0.0
Copyright (c) 2014-2017, Appcelerator, Inc. All Rights Reserved.
Operating System
Name = Mac OS X
Version = 10.12
Architecture = 64bit
# CPUs = 2
Memory = 8.0GB
Node.js
Node.js Version = 8.9.1
npm Version = 5.5.1
Appcelerator CLI
Installer = 4.2.11
Core Package = 7.0.0
Titanium CLI
CLI Version = 5.0.14
node-appc Version = 0.2.41
Titanium SDKs
7.0.0.GA
Version = 7.0.0
Install Location = /Users/kerberos/Library/Application Support/Titanium/mobilesdk/osx/7.0.0.GA
Platforms = iphone, android
git Hash = f09dec4
git Timestamp = 12/5/2017 21:38
node-appc Version = 0.2.43
6.3.0.GA
Version = 6.3.0
Install Location = /Users/kerberos/Library/Application Support/Titanium/mobilesdk/osx/6.3.0.GA
Platforms = iphone, android, mobileweb
git Hash = 3620088
git Timestamp = 11/1/2017 01:20
node-appc Version = 0.2.43
Mac OS X
Command Line Tools = installed
Intel® Hardware Accelerated Execution Manager (HAXM)
Not installed
Java Development Kit
Version = 1.8.0_131
Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
Genymotion
Path = /Applications/Genymotion.app/Contents/MacOS
Genymotion Executable = /Applications/Genymotion.app/Contents/MacOS/genymotion
Genymotion Player = /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS/player
Home = /Users/kerberos/.Genymobile/Genymotion
VirtualBox
Executable = /usr/local/bin/VBoxManage
Version = 5.2.0r118431
Android SDK
Android Executable = not found
ADB Executable = /Users/kerberos/Library/android-sdk-macosx/platform-tools/adb
SDK Path = /Users/kerberos/Library/android-sdk-macosx
Android NDK
0NDK Path = not found
NDK Version = not found
Android Platforms
1) android-10
Name = Android 2.3.3 **Not supported by Titanium SDK 7.0.0.GA**
API Level = 10
Revision = null
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
ABIs = armeabi-v7a, x86
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-10
2) android-16
Name = Android 4.1.2 **Not supported by Titanium SDK 7.0.0.GA**
API Level = 16
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = x86, armeabi-v7a
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-16
3) android-19
Name = Android 4.4.2 **Not supported by Titanium SDK 7.0.0.GA**
API Level = 19
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = armeabi-v7a, x86
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-19
4) android-22
Name = Android 5.1.1 **Not supported by Titanium SDK 7.0.0.GA**
API Level = 22
Revision = 2
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = armeabi-v7a, x86
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-22
5) android-23
Name = Android 6.0
API Level = 23
Revision = 3
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound400x400, AndroidWearRound480
x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWearRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare240x240, AndroidWear
Square320x320
ABIs = armeabi-v7a, x86
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-23
6) android-25
Name = Android 7.1.1
API Level = 25
Revision = 2
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound400x400, AndroidWearRound480
x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWearRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare240x240, AndroidWear
Square320x320
ABIs = x86, armeabi-v7a
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-25
7) android-26
Name = Android 8.0.0 (not supported by Titanium SDK 7.0.0.GA, but may work)
API Level = 26
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound390x390, AndroidWearRound400
x400, AndroidWearRound454x454, AndroidWearRound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWearRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, Androi
dWearSquare, AndroidWearSquare240x240, AndroidWearSquare320x320
ABIs = x86
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-26
8) android-27
Name = Android 8.1.0 (not supported by Titanium SDK 7.0.0.GA, but may work)
API Level = 27
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = x86
Path = /Users/kerberos/Library/android-sdk-macosx/platforms/android-27
Android Add-Ons
9) Google Inc.:Google APIs:16
Name = Google APIs (Android 4.1.2 (API level 16)) **Not supported by Titanium SDK 7.0.0.GA**
Vendor = Google Inc.
Revision = 4
Description = Android + Google APIs
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = x86, armeabi-v7a
Path = /Users/kerberos/Library/android-sdk-macosx/add-ons/addon-google_apis-google-16
Libraries = none
10) Google Inc.:Google APIs:19
Name = Google APIs (Android 4.4.2 (API level 19)) **Not supported by Titanium SDK 7.0.0.GA**
Vendor = Google Inc.
Revision = 20
Description = Android + Google APIs
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = armeabi-v7a, x86
Path = /Users/kerberos/Library/android-sdk-macosx/add-ons/addon-google_apis-google-19
Libraries = none
Android Emulators
titanium_1_WVGA800
ID = titanium_1_WVGA800
SDK Version = Android 6.0 (API level 23)
ABI = armeabi-v7a
Skin = wvga800
Path = /Users/kerberos/.android/avd/titanium_1_WVGA800.avd
SD Card = /Users/kerberos/.android/avd/titanium_1_WVGA800.avd/sdcard.img
Google APIs = no
Genymotion Emulators
Custom Phone - 7.0.0 - API 24 - 768x1280
0 ID = Custom Phone - 7.0.0 - API 24 - 768x1280
SDK Version = 7.0.0
ABI = x86
Genymotion Version = 2.11.0
Display = 768x1280-16
DPI = 320
OpenGL Acceleration = yes
Google APIs = unknown, emulator not running
Custom Phone - 4.1.1 - API 16 - 768x1280
0 ID = Custom Phone - 4.1.1 - API 16 - 768x1280
SDK Version = 4.1.1
ABI = x86
Genymotion Version = 2.11.0
Display = 768x1280-16
DPI = 320
OpenGL Acceleration = yes
Google APIs = unknown, emulator not running
Connected Android Devices
None
Xcode
8.2 (build 8C38) - Xcode default
Install Location = /Applications/Xcode.app/Contents/Developer
iOS SDKs = 10.2
iOS Simulators = 10.2
Watch SDKs = 3.1
Watch Simulators = 3.1
Supported by TiSDK 7.0.0.GA = yes
EULA Accepted = yes
Teams = none
iOS Keychains
login.keychain-db = /Users/kerberos/Library/Keychains/login.keychain-db
System.keychain = /Library/Keychains/System.keychain
iOS Development Certificates
/Users/kerberos/Library/Keychains/login.keychain-db
Mahmut Tiyek (8R5X3KDS3C)
Not valid before = 6/10/2017 12:48 AM
Not valid after = 6/10/2018 12:48 AM
iOS App Store Distribution Certificates
/Users/kerberos/Library/Keychains/login.keychain-db
Mahmut Tiyek (8YDJT5V23L)
Not valid before = 6/10/2017 12:52 AM
Not valid after = 6/10/2018 12:52 AM
Apple WWDR Certificate
Apple WWDR = installed
Development iOS Provisioning Profiles
JLB Device Test
Attachments
Hello, Can you check if your Xcode is showing configured or not in studio preference? Make sure the right version of SDK is selected and configured of you have multiple Xcode in your system. Thanks.
[~sdarda] That won't help. [~Kerbooo] It looks like a linking issue, so could you attach a trace log that includes the actual error? And do you use any modules that may cause this? Usually it's an issue with modules that do not link frameworks correctly.
Hi again, I do not use any module even Appcelerator Platform Services too . When I compile my project with SDK 6.3.0.GA everything is fine but with 7.0.0.GA giving error.
Thanks for your feedback. Run the following commands and let us know how it goes. Close Appcelerator Studio Open the terminal Stop the daemon: appc appcd stop cd into the appcelerator package: cd ~/.appcelerator/install/7.0.0/package Install the update: npm install ioslib@next Reopen Studio Hope this helps. Let us know. Thanks.
[~Kerbooo] We did not receive your trace log so far. We'd be happy to help here, but given the current response, there is nothing we can do.
[^2018-01-03T09_24_52_277Z-debug.log] I have did what you said. You can find attached the Log file. Thank you in advance.
Thanks! But that looks like the Node log-file from Studio. I rather mean the Titanium console-output when you run your project with log-level "Trace" (Studio) or "appc run -p ios -l trace" (CLI).
Sorry I am getting error as below 2018-01-03T23:19:22.459Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/kerberos/.appcelerator/install/7.0.1/package/appc.js 2018-01-03T23:19:22.524Z | DEBUG | [PLUGIN-LOAD] 63ms /Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/appc-cli-titanium/appc.js 2018-01-03T23:19:22.524Z | DEBUG | run plugin: /Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/appc-cli-titanium 2018-01-03T23:19:22.526Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/arrow/appc.js 2018-01-03T23:19:22.528Z | DEBUG | run plugin: /Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/arrow 2018-01-03T23:19:22.543Z | TRACE | plugin "titanium" failed its "when" function check, skipping... 2018-01-03T23:19:22.543Z | TRACE | loading plugin "arrow" for command "run" CLI options via function 2018-01-03T23:19:22.545Z | TRACE | executing command "run" with the following plugins: ["arrow"] 2018-01-03T23:19:22.546Z | TRACE | session already loaded in opts.session 2018-01-03T23:19:22.548Z | ERROR | An uncaught exception was thrown! Data must be a string or a buffer 2018-01-03T23:19:22.548Z | ERROR | Data must be a string or a buffer 2018-01-03T23:19:22.549Z | TRACE | TypeError: Data must be a string or a buffer at Hash.update (crypto.js:99:16) at Object.sha1 (/Users/kerberos/.appcelerator/install/7.0.1/package/lib/misc.js:70:6) at generateInstallToken (/Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/arrow/lib/plugin/run.js:57:20) at install (/Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/arrow/lib/plugin/run.js:82:21) at Object.run [as execute] (/Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/arrow/lib/plugin/run.js:165:2) at /Users/kerberos/.appcelerator/install/7.0.1/package/lib/commands/run.js:37:19 at /Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/async/lib/async.js:181:20 at Object.async.forEachOf.async.eachOf (/Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/async/lib/async.js:233:13) at Object.async.forEach.async.each (/Users/kerberos/.appcelerator/install/7.0.1/package/node_modules/async/lib/async.js:209:22) at /Users/kerberos/.appcelerator/install/7.0.1/package/lib/commands/run.js:35:10
I reinstall Appcleretor Studio but I am getting error when I build my project with using SDK 7.0.1 but SDK 6.3.0 is working.