<div dir="ltr"><pre class="gmail-bz_comment_text" id="gmail-comment_text_3" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><a class="gmail-bz_bug_link gmail-bz_status_NEW" title="NEW - Apple release code sign error." href="https://bugzilla.gnome.org/show_bug.cgi?id=771860" style="color:rgb(102,51,102)" target="_top" rel="nofollow" link="external">Bug 771860</a> is actually that I posted.
<a class="gmail-bz_bug_link gmail-bz_status_NEW" title="NEW - Apple release code sign error." href="https://bugzilla.gnome.org/show_bug.cgi?id=771860" style="color:rgb(102,51,102)" target="_top" rel="nofollow" link="external">Bug 771860</a> was about that I couldn't apply codesign and it was sorted out with the help.
<a class="gmail-bz_bug_link gmail-bz_status_RESOLVED gmail-bz_closed" title="RESOLVED DUPLICATE - Apple Sandbox and Appstore Upload issue." href="https://bugzilla.gnome.org/show_bug.cgi?id=772035" style="color:rgb(102,51,102);text-decoration:line-through" target="_top" rel="nofollow" link="external">Bug 772035</a> is more related to this.
when I applied sandbox and codesign on gst-plugin-scanner and gst-ptp-helper,gst_init doesnt work</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_3" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">---------------------------------------------------------------------------------------------------</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_3" style="width:50em"><font color="#000000"><span style="white-space:pre-wrap">Hi, GStreamer,
Thanks for your comment.
I have a few more Inquiries regarding Appstore Upload.(AppSandbox)
Streamer version : 1.6.4(using cerebra universal build)
build platform : mac OS X 10.11 el capitan
GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner
GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-ptp-helper
Regarding Bug 771860 (<a href="https://bugzilla.gnome.org/show_bug.cgi?id=771860" target="_top" rel="nofollow" link="external">https://bugzilla.gnome.org/show_bug.cgi?id=771860</a>), I sorted out TestCase 1~3 Codesign problem with your help. StackOverFlow(<a href="https://stackoverflow.com/questions/25950544/codesign-what-are-unsealed-contents" target="_top" rel="nofollow" link="external">https://stackoverflow.com/questions/25950544/codesign-what-are-unsealed-contents</a>)
However, I couldn't sort out TestCase 4 with StackOverFlow(<a href="https://stackoverflow.com/questions/25950544/codesign-what-are-unsealed-contents" target="_top" rel="nofollow" link="external">https://stackoverflow.com/questions/25950544/codesign-what-are-unsealed-contents</a>)
There is a "TestCase 4" of Bug771860 AppLoader error down below
- AppLoader Upload Error :
ERROR ITMS-90296: "App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list: [( "com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner", "com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-ptp-helper" )] Refer to App Sandbox page at <a href="https://developer.apple.com/devcenter/mac/app-sandbox/" target="_top" rel="nofollow" link="external">https://developer.apple.com/devcenter/mac/app-sandbox/</a> for more information on sandboxing your app."
ERROR ITMS-90260: "Bad Bundle Executable. You must include a valid CFBundleExecutable key in the nested bundle osx-framework [com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework] property list file."
ERROR ITMS-90261: "Bad CFBundleExecutable. Cannot find executable file that matches the value of CFBundleExecutable in the nested bundle osx-framework [com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework] property list file."
To sort out this error, I did some tests down below.
Test1
1) I changed osx-framework to GStreamer in GStreamer.framework/Resources/Info.plist Modify
-> Bundle name, Bundle identifier
2) Codesign
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/lib Directory) :
find MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/ -name *.dylib | while read a ; do code sign —verbose —sign '3rd Party Mac Developer Application: My ID' ${a}; done & find MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/ -name *.so | while read b ; do code sign —verbose —sign '3rd Party Mac Developer Application: My ID' ${b}; done | code sign —verbose —sign '3rd Party Mac Developer Application: My ID' MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/GStreamer
- Terminal Input Command(Codesign for MyApp, MyFramework.framework, GStreamer.framework) :
code sign —all-architectures -f —deep -s '3rd Party Mac Developer Application: My ID' —entitlements "MyApp.entitlements" "MyApp.app"
3) Try AppLoader Upload
- Make PKG File and Upload :
-> Result : Fail
-> Error Message : ERROR ITMS-90260: "Bad Bundle Executable. You must include a valid CFBundleExecutable key in the nested bundle osx-framework [com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework] property list file."
But, I Fixed One Error(ERROR ITMS-90261: "Bad CFBundleExecutable. Cannot find executable file that matches the value of CFBundleExecutable in the nested bundle osx-framework [com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework] property list file.")
Test2.
1) I changed osx-framework to GStreamer in GStreamer.framework/Resources/Info.plist Modify
-> Bundle name, Bundle identifier
2) Codesign
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/lib Directory) :
find MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/ -name *.dylib | while read a ; do code sign —verbose —sign '3rd Party Mac Developer Application: My ID' ${a}; done & find MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/ -name *.so | while read b ; do code sign —verbose —sign '3rd Party Mac Developer Application: My ID' ${b}; done | code sign —verbose —sign '3rd Party Mac Developer Application: My ID' MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/GStreamer
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner) :
codesign -f -v -s '3rd Party Mac Developer Application: My ID' —entitlements "MyApp.entitlements" "MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner"
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-ptp-helper) :
codesign -f -v -s '3rd Party Mac Developer Application: My ID' —entitlements "MyApp.entitlements" "MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-ptp-helper"
- Terminal Input Command(Codesign for MyApp, MyFramework.framework, GStreamer.framework) :
code sign —all-architectures -f —deep -s '3rd Party Mac Developer Application: My ID' —entitlements "MyApp.entitlements" "MyApp.app"
3) Try AppLoader Upload
- Make PKG File and Upload :
-> Result : Succes
But, My app could not be executed.
Test3.
I succeed uploading but the app was not able to use. Therefore I tested again to find a reason.
1) I changed osx-framework to GStreamer in GStreamer.framework/Resources/Info.plist Modify
-> Bundle name, Bundle identifier
2) Codesign
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/lib Directory) :
find MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/ -name *.dylib | while read a ; do code sign —verbose —sign '3rd Party Mac Developer Application: My ID' ${a}; done & find MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/ -name *.so | while read b ; do code sign —verbose —sign '3rd Party Mac Developer Application: My ID' ${b}; done | code sign —verbose —sign '3rd Party Mac Developer Application: My ID' MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/GStreamer
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner) :
codesign -f -v -s '3rd Party Mac Developer Application: My ID' "MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-plugin-scanner"
- Terminal Input Command(Codesign for GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-ptp-helper) :
codesign -f -v -s '3rd Party Mac Developer Application: My ID' "MyApp.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/libexec/gstreamer-1.0/gst-ptp-helper"
- Terminal Input Command(Codesign for MyApp, MyFramework.framework, GStreamer.framework) :
code sign —all-architectures -f —deep -s '3rd Party Mac Developer Application: My ID' —entitlements "MyApp.entitlements" "MyApp.app"
3) Try AppLoader Upload
- Make PKG File and Upload :
-> Result : Fail
-> Error Message : ERROR ITMS-90260: "Bad Bundle Executable. You must include a valid CFBundleExecutable key in the nested bundle osx-framework [com.myplayer.osx.pkg/Payload/MyApp.app/Contents/Frameworks/GStreamer.framework] property list file."
But, MyApp can be executed.
it worked well with applying code sign on gat-plugin-scanner and gst-ptp-helper but when code sign and sandbox are applied, it was failed.
How can I sort out this issue?</span></font><span style="color:rgb(0,0,0);white-space:pre-wrap">
</span></pre><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-27 17:36 GMT+09:00 GStreamer <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4679827&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span>:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><span><a href="https://bugzilla.gnome.org/page.cgi?id=describeuser.html&login=slomo%40coaxion.net" title="Sebastian Dröge (slomo) <slomo@coaxion.net>" target="_blank" rel="nofollow" link="external"> <span>Sebastian Dröge (slomo)</span></a>
</span> changed
<a title="RESOLVED DUPLICATE - Apple Sandbox and Appstore Upload issue." href="https://bugzilla.gnome.org/show_bug.cgi?id=772035" target="_blank" rel="nofollow" link="external">bug 772035</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tbody><tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right">CC</td>
<td>
</td>
<td><a href="/user/SendEmail.jtp?type=node&node=4679827&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
</td>
</tr>
<tr>
<td style="text-align:right">Resolution</td>
<td>---
</td>
<td>DUPLICATE
</td>
</tr></tbody></table>
<p>
</p><div>
<b><a title="RESOLVED DUPLICATE - Apple Sandbox and Appstore Upload issue." href="https://bugzilla.gnome.org/show_bug.cgi?id=772035#c1" target="_blank" rel="nofollow" link="external">Comment # 1</a>
on <a title="RESOLVED DUPLICATE - Apple Sandbox and Appstore Upload issue." href="https://bugzilla.gnome.org/show_bug.cgi?id=772035" target="_blank" rel="nofollow" link="external">bug 772035</a>
from <span><a href="https://bugzilla.gnome.org/page.cgi?id=describeuser.html&login=slomo%40coaxion.net" title="Sebastian Dröge (slomo) <slomo@coaxion.net>" target="_blank" rel="nofollow" link="external"> <span>Sebastian Dröge (slomo)</span></a>
</span></b>
<pre>Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but
please feel free to report any further bugs you find.
*** This bug has been marked as a duplicate of <a title="NEW - Apple release code sign error." href="https://bugzilla.gnome.org/show_bug.cgi?id=771860" target="_blank" rel="nofollow" link="external">bug 771860</a> ***</pre>
</div>
<p></p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You reported the bug.</li>
</ul>
</div>
</blockquote></div><br></div></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Re-Bug-772035-Apple-Sandbox-and-Appstore-Upload-issue-tp4679827.html">Re: [Bug 772035] Apple Sandbox and Appstore Upload issue.</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>