Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24437] iOS: App does not build when use openMusicLibrary method.

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2017-03-03T14:59:18.000+0000
Affected Version/sRelease 6.0.0, Release 6.0.1
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMotiur Rahman
AssigneeHans Knöchel
Created2017-02-28T14:33:28.000+0000
Updated2017-03-28T20:17:51.000+0000

Description

description

App build failed if I use [openMusicLibrary](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media-method-openMusicLibrary) method.

Test case

var win = Ti.UI.createWindow({ });

	var button = Ti.UI.createButton({

		title : "click me",

	});

	win.add(button);

	button.addEventListener('click', function(e) {

		Ti.Media.openMusicLibrary();

	});

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

Thanks

Comments

  1. Tamir Ishay Sharbat 2017-02-28

    btw this bug happens only when running when off liveview and on a real device/ itunes sync
  2. Hans Knöchel 2017-03-01

    This should be fixed in 6.0.2.GA (TIMOB-24325). Please confirm.
  3. Tamir Ishay Sharbat 2017-03-02

    Is 6.0.2.GA out yet? How am I supposed to confirm?
  4. Hans Knöchel 2017-03-02

    It was released 2 days ago, yeah :-) Use Studio or run appc setup from the CLI, thx!
  5. Tamir Ishay Sharbat 2017-03-02

    Everything works fine in 6.0.2 . Thanks for your help :)
  6. Hans Knöchel 2017-03-02

    Thanks Tamir! Did you work with Motiur to open this ticket? Then I can resolve it. Happy it works!

JSON Source