Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28099] iOS: Unable to build Hyperloop Example app on iOS 14 using Xcode 12 Command line tools

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-09-22T23:10:30.000+0000
Affected Version/sRelease 9.2.0
Fix Version/sRelease 9.2.0
ComponentsHyperloop, iOS
Labelsn/a
ReporterSamir Mohammed
AssigneeJan Vennemann
Created2020-08-26T15:29:45.000+0000
Updated2020-09-22T23:10:30.000+0000

Description

When running the Hyperloop examples app on Xcode 12 command line tools and then running to 14.0 beta sim/device the following errors can be seen. *Test Steps:*

Download Hyperloop examples app

Download the latest Xcode 12 beta

Download the latest iOS 14 beta for device

Run Hyperloop examples app

*Simulator error:*
[ERROR]  ** BUILD FAILED **

[ERROR]  The following build commands failed:

[ERROR]  	CompileC /Users/samir/Desktop/Appc/Repos/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/uikit.o /Users/samir/Desktop/Appc/Repos/hyperloop-examples/build/hyperloop/ios/js/uikit/uikit.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

[ERROR]  (1 failure)

Build failed. Process exited with code 1.
*Device error:*
[ERROR]  ** BUILD FAILED **

[ERROR]  The following build commands failed:

[ERROR]  	CompileC /Users/samir/Desktop/Appc/Repos/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/uikit.o /Users/samir/Desktop/Appc/Repos/hyperloop-examples/build/hyperloop/ios/js/uikit/uikit.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

[ERROR]  (1 failure)

Build failed. Process exited with code 1.
*Expected result:* App should be able to build and run without any issues. *Actual result:* Above errors are shown.

Attachments

FileDateSize
log.txt2020-09-01T15:13:57.000+00001688749

Comments

  1. Ewan Harris 2020-09-04

    Specific error from within the build log
       [TRACE]      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios10.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-weak -fmodules -gmodules -fmodules-cache-path\=/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wdeprecated-implementations -Dfoo\=bar -DDEPLOYTYPE\=development -D__LOG__ID__\=11111111-1111-1111-1111-111111111111 -DDEBUG\=1 -DTI_VERSION\=9.2.0 -DLAUNCHSCREEN_STORYBOARD\=1 -DDEFAULT_BGCOLOR_RED\=0.7803921568627451 -DDEFAULT_BGCOLOR_GREEN\=0.09411764705882353 -DDEFAULT_BGCOLOR_BLUE\=0.17254901960784313 -DDISABLE_TI_LOG_SERVER\=1 -DCOCOAPODS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-unguarded-availability -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/DerivedData/Index/DataStore -iquote /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Hyperloop_Sample-generated-files.hmap -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Hyperloop_Sample-own-target-headers.hmap -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Hyperloop_Sample-all-target-headers.hmap -iquote /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Hyperloop_Sample-project-headers.hmap -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libxml2 -Iheaders -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/CocoaAsyncSocket/CocoaAsyncSocket.framework/Headers -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/CocoaSSDP/CocoaSSDP.framework/Headers -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/JBChartView/JBChartView.framework/Headers -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/MMMarkdown/MMMarkdown.framework/Headers -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/Shimmer/Shimmer.framework/Headers -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/DerivedSources-normal/x86_64 -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/DerivedSources/x86_64 -I/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator -FFrameworks -F/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/CocoaAsyncSocket -F/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/CocoaSSDP -F/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/JBChartView -F/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/MMMarkdown -F/Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/Shimmer -F/Users/awam/git/testing_apps/hyperloop-examples/Pods/Localytics/Localytics-iOS-4.4.1 -DDEBUG -fobjc-arc -include /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/PrecompiledHeaders/SharedPrecompiledHeaders/2492238109181026209/Hyperloop_Sample_Prefix.pch -MMD -MT dependencies -MF /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/uikit.d --serialize-diagnostics /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/uikit.dia -c /Users/awam/git/testing_apps/hyperloop-examples/build/hyperloop/ios/js/uikit/uikit.m -o /Users/awam/git/testing_apps/hyperloop-examples/build/iphone/build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/uikit.o
       [TRACE]  /Users/awam/git/testing_apps/hyperloop-examples/build/hyperloop/ios/js/uikit/uikit.m:1075:81: error: incompatible types casting 'const SEL *' to 'void *' with a __bridge cast
       [TRACE]                          id _arg2 = (arg2 == nil) ? (id)[NSNull null] : (id)[HyperloopPointer pointer:(__bridge void *)&arg2 encoding:@encode(SEL)];
       
  2. Jan Vennemann 2020-09-17

    PR (sdk): https://github.com/appcelerator/titanium_mobile/pull/12094 PR (hyperloop): https://github.com/appcelerator/hyperloop.next/pull/339
  3. Marian Kucharcik 2020-09-17

    Hi @Jan, link PR (hyperloop): https://github.com/appcelerator/hyperloop.next/pull/339 is showing E404. Can you please correct it? Thanks
  4. Jan Vennemann 2020-09-17

    [~max87], the hyperloop repo is private, that's why you can't see the PR. As soon as the fix was verified internally we'll provide the update Hyperloop release at https://github.com/appcelerator-modules/hyperloop-builds
  5. Marian Kucharcik 2020-09-17

    Thank you for response, do you have approx ETA? Thanks
  6. Samir Mohammed 2020-09-21

    FR Passed, Waiting on Jenkins build and backport.
  7. Lokesh Choudhary 2020-09-22

    Closing.

JSON Source