Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5868] Build Error with GIT projects

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2018-11-29T23:29:50.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterAntje Schattat
AssigneeShak Hossain
Created2018-08-30T09:28:39.000+0000
Updated2018-11-29T23:29:50.000+0000

Description

Appcelrator Studio works well with local projects. Then there is no mistake when creating an iOS build (emulator and device). When using git projects, I can not build an iOS build. It sometimes works in the emulator. But it does not work with an iOS device. The same errors come when I want to build via the console. Sometimes switching to another emulator helps. Unfortunately, Project Clean does not help either. Currently it is almost impossible to test the iOS version. I urgently need help or a tip, so it works again. I get the following errors:
xcodebuild[59498:2586020]  DTDeviceKit: deviceType from 96194bbc... was NULL
** BUILD FAILED **
The following build commands failed:
ProcessPCH build/Intermediates/PrecompiledHeaders/XXX_Prefix-frmiqojbtdejutawwhxlnbksjklr/XXX_Prefix.pch.pch XXX_Prefix.pch normal {color:#d04437}x86_64{color} objective-c com.apple.compilers.llvm.clang.1_0.compiler
Instead of {color:#d04437}x86_64{color} => Sometimes also {color:#d04437}armv7{color} or {color:#d04437}arm64{color} Thanks

Attachments

FileDateSize
log_device.txt2018-09-05T07:35:16.000+0000530626
log.txt2018-08-31T08:46:42.000+0000432232

Comments

  1. Sharif AbuDarda 2018-08-30

    Hello, Can you send the full trace log? Please run the command with -l trace and send the log. Thanks.
  2. Antje Schattat 2018-08-31

    Sure, I tried creating a build from the console.
       appc run -p ios -l trace -C "E95DA738...."
       
    The app could not be opened in the emulator, it came back the error. The full log is the added file (log.txt). [^log.txt] The log for the build on the iOS device I can not send until the next week, when I'm back in the office. Thanks
  3. Antje Schattat 2018-09-05

    Hello, I have also uploaded the log [^log_device.txt] from the build to the device. In addition, sometimes this error comes
       xcodebuild[59498:2586020]  DTDeviceKit: deviceType from 96194bbc... was NULL
       
    if the device is connected via USB and I want to do a build in the emulator. For local projects I do not have these problems!
  4. Antje Schattat 2018-09-13

    Is there really no explanation for my problem? I can test the project in question very cumbersome for iOS. It does not work on the device.
  5. Sharif AbuDarda 2018-10-20

    Hello [~aschattat], Is the issue still there for SDK 7.4.0GA and the 7.4.1 releases?
  6. Antje Schattat 2018-10-25

    Hello. I tested it again. Conclusion: Simulator usually works when Appcelerator Studio is restarted. Or clean / delete build folder sometimes helps too. It does not work with an iPhone. I will try it with another iPhone with iOS12. - Titanium SDK 7.4.1.GA - Simulator iPhone XS with iOS => Works - Titanium SDK 7.4.1.GA - iPhone 7 with iOS11 => Error
       [ERROR]: 2018-10-25 15: 15: 55.778 xcodebuild [78414: 6449852] DTDeviceKit: deviceType from 96194bbcdda5b401f8eec2a722ecc701ec977444 what NULL
       [ERROR]: ** BUILD FAILED **
       [ERROR]: The following build commands failed:
       [ERROR]: ProcessPCH .../workspace/app/projects/appname/build/iphone/build/Intermediates/PrecompiledHeaders/SharedPrecompiledHeaders/3437310407050770970/app_Prefix.pch.gch/ .../ workspace / app / projects / app / build / iphone / app_Prefix.pch normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
       [ERROR]: (1 failure)
       
    - Titanium SDK 7.4.1.GA - Simulator iPhone XS with iOS - iPhone 7 is still connected via USB => Error
       [ERROR]: ** BUILD FAILED **
       [ERROR]: The following build commands failed:
       [ERROR]: CompileC .../workspace/app/projects/app/build/iphone/build/Intermediates/App.build/Debug-iphonesimulator/App.build/ Objects-normal / x86_64 / TiCalendarCalendar.o .../workspace/app/projekte/app/build/iphone/Classes/TiCalendarCalendar.m normal x86_64 objective-c com. apple.compilers.llvm.clang.1_0.compiler
       [ERROR]: (1 failure)
       

JSON Source