Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28202

iOS: Package build fails with MediaModule compile error in SDK 9.2.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 9.2.2
    • Component/s: iOS
    • Labels:
    • Environment:

      SDK 9.2.1, Studio 6.0, MacOS Catalina

    • Story Points:
      1
    • Sprint:
      2020 Sprint 21

      Description

      This is a different error from TIMOB-28100

      I've attached the log and the specific error is below...

      [TRACE]  CompileC /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/Objects-normal/arm64/MediaModule.o /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'FishLine' from project 'FishLine')
      [TRACE]      cd /Users/jrf/Studio/FishLine/build/iphone
      [TRACE]      export LANG\=en_US.US-ASCII
      [TRACE]      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios11.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-weak -fmodules -gmodules -fmodules-cache-path\=/Users/jrf/Studio/FishLine/build/iphone/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/jrf/Studio/FishLine/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 -Os -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 -DDEPLOYTYPE\=production -DLAUNCHSCREEN_STORYBOARD\=1 -DDEFAULT_BGCOLOR_RED\=1 -DDEFAULT_BGCOLOR_GREEN\=1 -DDEFAULT_BGCOLOR_BLUE\=1 -DDISABLE_TI_LOG_SERVER\=1 -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility\=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-unguarded-availability -iquote /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/FishLine-generated-files.hmap -I/Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/FishLine-own-target-headers.hmap -I/Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/FishLine-all-target-headers.hmap -iquote /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/FishLine-project-headers.hmap -I/Users/jrf/Studio/FishLine/build/iphone/build/Products/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/libxml2 -Iheaders -I/Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/DerivedSources-normal/arm64 -I/Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/DerivedSources/arm64 -I/Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/jrf/Studio/FishLine/build/iphone/build/Products/Release-iphoneos -FFrameworks -DNDEBUG -include /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/PrecompiledHeaders/SharedPrecompiledHeaders/11521078337976438370/FishLine_Prefix.pch -MMD -MT dependencies -MF /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/Objects-normal/arm64/MediaModule.d --serialize-diagnostics /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/Objects-normal/arm64/MediaModule.dia -c /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.m -o /Users/jrf/Studio/FishLine/build/iphone/build/Intermediates/FishLine.build/Release-iphoneos/FishLine.build/Objects-normal/arm64/MediaModule.o
      [TRACE]  /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.m:1025:19: warning: implicit conversion loses integer precision: 'UIImagePickerControllerCameraDevice' (aka 'enum UIImagePickerControllerCameraDevice') to 'int' [-Wshorten-64-to-32]
      [TRACE]      return NUMINT([picker cameraDevice]);
      [TRACE]             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
      [TRACE]  In module 'TitaniumKit' imported from /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.h:20:
      [TRACE]  /Users/jrf/Studio/FishLine/build/iphone/build/Products/Release-iphoneos/TitaniumKit.framework/Headers/TiBase.h:400:27: note: expanded from macro 'NUMINT'
      [TRACE]    [NSNumber numberWithInt:x]
      [TRACE]    ~                       ^
      [TRACE]  /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.m:2022:36: error: use of undeclared identifier '_phPicker'; did you mean 'picker'?
      [TRACE]    [self closeModalPicker:picker ?: _phPicker];
      [TRACE]                                     ^~~~~~~~~
      [TRACE]                                     picker
      [TRACE]  In file included from /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.m:11:
      [TRACE]  /Users/jrf/Studio/FishLine/build/iphone/Classes/MediaModule.h:45:28: note: 'picker' declared here
      [TRACE]    UIImagePickerController *picker;
      [TRACE]                             ^
      [TRACE]  1 warning and 1 error generated.
      

        Attachments

          Activity

            People

            • Assignee:
              vijaysingh Vijay Singh
              Reporter:
              jfalcone Joe Falcone
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration