Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error with App SDK 7.0.1.GA #86

Open
sachincredible9 opened this issue Jan 28, 2018 · 2 comments
Open

Compilation Error with App SDK 7.0.1.GA #86

sachincredible9 opened this issue Jan 28, 2018 · 2 comments

Comments

@sachincredible9
Copy link

Hello Team ,

I am using sdk 7.0.1.GA , Xcode 9.2 Getting following error While compilation:
Ld build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/armv7/TestAPP normal armv7
[TRACE] : cd /Users/TESTUSER/Documents/1/TestAPP/build/iphone
[TRACE] : export IPHONEOS_DEPLOYMENT_TARGET=8.0
[TRACE] : export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin:/Users/TESTUSER/.nvm/versions/node/v8.8.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[TRACE] : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Products/Release-iphoneos -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/lib -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/Classes/APSAnalytics -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/Classes/APSHTTPClient -L/Users/TESTUSER/Library/Application\ Support/Titanium/modules/iphone/ti.collectionview/2.0.1 -L/Users/TESTUSER/Library/Application\ Support/Titanium/modules/iphone/bencoding.utterance/0.4 -F/Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Products/Release-iphoneos -filelist /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/armv7/TestAPP.LinkFileList -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/armv7/TestAPP_lto.o -Xlinker -final_output -Xlinker /Applications/TestAPP.app/TestAPP -fobjc-link-runtime -stdlib=libc++ -ObjC -weak-lti_ios_profiler -weak-lti_ios_debugger -weak-lTiCore -weak_framework iAd -framework CoreMedia -weak_framework CoreMotion -lAPSAnalytics -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -lAPSHTTPClient -ltiverify -lti.collectionview -lbencoding.utterance -Xlinker -dependency_info -Xlinker /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/armv7/TestAPP_dependency_info.dat -o /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/armv7/TestAPP
[TRACE] :
[TRACE] : Ld build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/arm64/TestAPP normal arm64
[TRACE] : cd /Users/TESTUSER/Documents/1/TestAPP/build/iphone
[TRACE] : export IPHONEOS_DEPLOYMENT_TARGET=8.0
[TRACE] : export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin:/Users/TESTUSER/.nvm/versions/node/v8.8.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[TRACE] : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Products/Release-iphoneos -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/lib -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/Classes/APSAnalytics -L/Users/TESTUSER/Documents/1/TestAPP/build/iphone/Classes/APSHTTPClient -L/Users/TESTUSER/Library/Application\ Support/Titanium/modules/iphone/ti.collectionview/2.0.1 -L/Users/TESTUSER/Library/Application\ Support/Titanium/modules/iphone/bencoding.utterance/0.4 -F/Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Products/Release-iphoneos -filelist /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/arm64/TestAPP.LinkFileList -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/arm64/TestAPP_lto.o -Xlinker -final_output -Xlinker /Applications/TestAPP.app/TestAPP -fobjc-link-runtime -stdlib=libc++ -ObjC -weak-lti_ios_profiler -weak-lti_ios_debugger -weak-lTiCore -weak_framework iAd -framework CoreMedia -weak_framework CoreMotion -lAPSAnalytics -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -lAPSHTTPClient -ltiverify -lti.collectionview -lbencoding.utterance -Xlinker -dependency_info -Xlinker /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/arm64/TestAPP_dependency_info.dat -o /Users/TESTUSER/Documents/1/TestAPP/build/iphone/build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/arm64/TestAPP
[TRACE] : Undefined symbols for architecture arm64:
[TRACE] : "OBJC_CLASS$_TiUIRefreshControlProxy", referenced from:
[TRACE] : objc-class-ref in libti.collectionview.a(TiCollectionviewCollectionView.o)
[TRACE] : ld: symbol(s) not found for architecture arm64
[TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] : 2018-01-28 15:20:20.506 xcodebuild[93935:5554474] DTDeviceKit: deviceType from ee7d1abf6e476321c91509a9ef0f1a9c0a062fa5 was NULL
[ERROR] : ** ARCHIVE FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Intermediates/TestAPP.build/Release-iphoneos/TestAPP.build/Objects-normal/arm64/TestAPP normal arm64
[ERROR] : (1 failure)

@hansemannn
Copy link
Contributor

What version of the module are you using? As a workaround, try to set Ti.UI.createRefreshControl() somewhere in your code, so the symbols are generated for sure.

@sachincredible9
Copy link
Author

2.0.1 , It works, after adding Ti.UI.createRefreshControl. Thanks a lot !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants