Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25657] iOS: Build fails with Titanium SDK 7.0.1.GA

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionNot Our Bug
Resolution Date2018-01-10T16:32:58.000+0000
Affected Version/sRelease 7.0.1
Fix Version/sn/a
ComponentsiOS
Labelsbuild, ios
ReporterJignesh Kasundra
AssigneeHans Knöchel
Created2018-01-10T09:02:12.000+0000
Updated2018-08-06T17:52:04.000+0000

Description

*ERROR ON : Device (iPhone 5s)* The following build commands failed: [ERROR] : Ld build/Intermediates/SampleApp.build/Debug-iphoneos/SampleApp.build/Objects-normal/arm64/SampleApp normal arm64 *ERROR ON : Simulator* The following build commands failed: [ERROR] : Ld build/Products/Debug-iphonesimulator/SampleApp.app/SampleApp normal x86_64 *NOTE : the application build works fine with Ti SDK 6.1.0*

Attachments

FileDateSize
app.js2018-01-10T10:35:18.000+00002213
tiapp.xml2018-01-10T14:29:53.000+00002282

Comments

  1. Mostafizur Rahman 2018-01-10

    Hello [~jignesh.igp], Thanks for sharing with us. Please provide a full sample test code that regenerates the issue. Better to provide a sample app as an attachment here. We will test the issue in our environment. Also, provide the SDK and CLI version you are testing on. Best
  2. Jignesh Kasundra 2018-01-10

    Thanks. Please note down the details. sample code attached for your reference. Appcelerator Studio, build: 4.8.1.201612050850 Operating System Name = Mac OS X Version = 10.13.1 Architecture = 64bit # CPUs = 4 Memory = 8.0GB Node.js Node.js Version = 8.9.4 npm Version = 5.6.0 Appcelerator CLI Installer = 4.2.11 Core Package = 7.0.1 Titanium CLI CLI Version = 5.0.14 node-appc Version = 0.2.41 Titanium SDKs 7.0.1.GA Version = 7.0.1 =================== Xcode 8.3.2 (build 8E2002) - Xcode default Install Location = /Applications/Xcode.app/Contents/Developer iOS SDKs = 10.3 iOS Simulators = 10.3 Watch SDKs = 3.2 Watch Simulators = 3.2 Supported by TiSDK 7.0.1.GA = yes EULA Accepted = yes Teams = none
  3. Hans Knöchel 2018-01-10

    Hey there! Checking it now - but I see you are using an outdated Xcode version (8.3.2) that is quite outdated (currently: 9.2). I am moving this ticket to engineering for reproducing your test-case, but if it works with the recommended setup (Xcode 9.2), you will need to update your dev-environment. Thanks! P.S.: I've also changed your tiapp.xml to not include your organization keys. Update: I've just tested your supplied code and it works fine (both Simulator and Device). I am highly expecting it to be an issue with an external module that used private API's that have been removed or replaced between the major releases 6 and 7. I don't want to leave you with an open issue, so I propose you to attach a full trace log (Studio: Change to log-level switch above the console to "Trace", CLI: appc run -p ios -l trace). Doing that, we'll be able to see the actual error that breaks the build. Lets give it a shot!
  4. Jignesh Kasundra 2018-01-10

    Used CLI: *appc run -p ios -l trace* and it's throws below error in middle of build process [TRACE] ld: framework not found FileProvider 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 build/Products/Debug-iphonesimulator/SampleApp.app/SampleApp normal x86_64 [ERROR] (1 failure) please let me know if you want to look full logs.
  5. Hans Knöchel 2018-01-10

    Thanks, ld: framework not found FileProvider for architecture x86_64 is the issue. Which is because Xcode 9 is required (The FileProvider framework is a core-framework). As a workaround, see [this answer](https://stackoverflow.com/a/46483043/5537752) that was solving the issue that also occurred on other development platforms.
  6. Eric Merriman 2018-08-06

    Closing as "not our bug". If you disagree, please reopen.

JSON Source