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
btw this bug happens only when running when off liveview and on a real device/ itunes sync
This should be fixed in 6.0.2.GA (TIMOB-24325). Please confirm.
Is 6.0.2.GA out yet? How am I supposed to confirm?
It was released 2 days ago, yeah :-) Use Studio or run
appc setup
from the CLI, thx!Everything works fine in 6.0.2 . Thanks for your help :)
Thanks Tamir! Did you work with Motiur to open this ticket? Then I can resolve it. Happy it works!