Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6469] iOS: Build fails with Titanium SDK 8.3.0.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2020-01-27T16:36:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
Reporterkoki_shigeyama
AssigneeRiduanul Islam
Created2020-01-10T00:43:50.000+0000
Updated2020-01-27T16:36:45.000+0000

Description

Titanium build faild. How can it be solved?
[TRACE] Ld /Users/shige/dsk/repo/anireceF/build/iphone/build/Products/Debug-iphonesimulator/anirece\ cloud.app/anirece\ cloud normal x86_64 (in target 'anirece cloud' from project 'anirece cloud')
[TRACE]     cd /Users/shige/dsk/repo/anireceF/build/iphone
[TRACE]     /Users/shige/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios9.0-simulator -isysroot /Users/shige/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/shige/dsk/repo/anireceF/build/iphone/build/Products/Debug-iphonesimulator -L/Users/shige/dsk/repo/anireceF/build/iphone/lib -L/Users/shige/dsk/repo/anireceF/modules/iphone/ti.paint/1.4.0 -L/Users/shige/dsk/repo/anireceF/modules/iphone/ti.compression/1.1.1 -L/Users/shige/dsk/repo/anireceF/modules/iphone/com.fujitsu.dc.mobile.anirecef.extendwebview/0.1 -L/Users/shige/dsk/repo/anireceF/modules/iphone/bencoding.securely/1.53.B -F/Users/shige/dsk/repo/anireceF/build/iphone/build/Products/Debug-iphonesimulator -FFrameworks -filelist /Users/shige/dsk/repo/anireceF/build/iphone/build/Intermediates/anirece\ cloud.build/Debug-iphonesimulator/anirece\ cloud.build/Objects-normal/x86_64/anirece\ cloud.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/shige/dsk/repo/anireceF/build/iphone/build/Intermediates/anirece\ cloud.build/Debug-iphonesimulator/anirece\ cloud.build/Objects-normal/x86_64/anirece\ cloud_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -fobjc-link-runtime -ObjC -weak_framework JavaScriptCore -framework Security -framework Security -lxml2 -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/shige/dsk/repo/anireceF/build/iphone/build/Intermediates/anirece\ cloud.build/Debug-iphonesimulator/anirece\ cloud.build/anirece\ cloud.app-Simulated.xcent -framework CoreMedia -weak_framework CoreMotion -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -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 -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -ltiverify -lti.paint -lti.compression -lcom.fujitsu.dc.mobile.anirecef.extendwebview -lbencoding.securely -framework TitaniumKit -Xlinker -dependency_info -Xlinker /Users/shige/dsk/repo/anireceF/build/iphone/build/Intermediates/anirece\ cloud.build/Debug-iphonesimulator/anirece\ cloud.build/Objects-normal/x86_64/anirece\ cloud_dependency_info.dat -o /Users/shige/dsk/repo/anireceF/build/iphone/build/Products/Debug-iphonesimulator/anirece\ cloud.app/anirece\ cloud
[TRACE] Undefined symbols for architecture x86_64:
[TRACE]   "_deflate", referenced from:
[TRACE]       _zipWriteInFileInZip in libti.compression.a(zip.o)
[TRACE]       _zipCloseFileInZipRaw in libti.compression.a(zip.o)
[TRACE]   "_deflateInit2_", referenced from:
[TRACE]       _zipOpenNewFileInZip3 in libti.compression.a(zip.o)
[TRACE]   "_inflate", referenced from:
[TRACE]       _unzReadCurrentFile in libti.compression.a(unzip.o)
[TRACE]   "_get_crc_table", referenced from:
[TRACE]       _unzOpenCurrentFile3 in libti.compression.a(unzip.o)
[TRACE]       _zipOpenNewFileInZip3 in libti.compression.a(zip.o)
[TRACE]   "_deflateEnd", referenced from:
[TRACE]       _zipCloseFileInZipRaw in libti.compression.a(zip.o)
[TRACE]   "_inflateInit2_", referenced from:
[TRACE]       _unzOpenCurrentFile3 in libti.compression.a(unzip.o)
[TRACE]   "_inflateEnd", referenced from:
[TRACE]       _unzCloseCurrentFile in libti.compression.a(unzip.o)
[TRACE]   "_crc32", referenced from:
[TRACE]       -[TiCompressionZipArchive addFileToZip:newname:] in libti.compression.a(ZipArchive.o)
[TRACE]       _unzReadCurrentFile in libti.compression.a(unzip.o)
[TRACE]       _zipWriteInFileInZip in libti.compression.a(zip.o)
[TRACE] ld: symbol(s) not found for architecture x86_64
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR]         Ld /Users/shige/dsk/repo/anireceF/build/iphone/build/Products/Debug-iphonesimulator/anirece\ cloud.app/anirece\ cloud normal x86_64

Attachments

FileDateSize
tiapp.xml2020-01-14T02:38:38.000+00003188

Comments

  1. Riduanul Islam 2020-01-13

    Hi [~koki_shigeyama], Can you please share tiapp.xml file here? As I noticed there have several 3rd party iOS module which may not have support for 64-bit iOS architecture, that's why you are getting this error normal x86_64. Follow this below documentation: 1. http://docs.appcelerator.com/platform/latest//#!/guide/iOS_Module_64-bit_Support Then delete project build folder and again build it. Thanks.
  2. koki_shigeyama 2020-01-14

    [^tiapp.xml] Hi Riduanul Islam, OK, I will share the tiapp.xml file. Please check the attached file.
  3. koki_shigeyama 2020-01-15

    Hi Riduanul Islam, I found the solution. I solved it by using this module.  https://github.com/appcelerator-modules/ti.compression/releases/tag/ios-2.0.0 Please close the ticket. Thanks.

JSON Source