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

iOS: App not compiling due to Ti.Media.systemMusicPlayer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.2
    • Fix Version/s: Release 6.0.3
    • Component/s: iOS
    • Labels:
      None
    • Environment:
    • Story Points:
      5
    • Sprint:
      2017 Sprint 05 SDK

      Description

      The app will not compile if " Titanium.Media.appMusicPlayer or the Titanium.Media.systemMusicPlayer" are used in my app. However, it works fine in the simulator or when the iPhone is connected using the LiveView. The app will compile if I code out the line with Titanium.Media.appMusicPlayer.


      try {
      	var player = Titanium.Media.systemMusicPlayer;
      	Ti.API.info(">>>>>>>>>>>>>>>>>>>>>> player.playbackState", player.playbackState);
       
      } catch (e) {
      	Ti.API.info(e);
      }
       
      Ti.API.info("AudioSessionCategory: " + Ti.Media.getAudioSessionCategory());
      

      [ERROR] :  ** BUILD FAILED **
      [ERROR] :  The following build commands failed:
      [ERROR] :  	CompileC build/Intermediates/Triathlon.build/Debug-iphoneos/Triathlon.build/Objects-normal/armv7/MediaModule.o Classes/MediaModule.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
      [ERROR] :  (1 failure)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                mikezal1 mikezal1
                Reviewer:
                Vijay Singh
                Tester:
                Eric Wieber
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10520
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code