Quantcast

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
Bryan Rahn created JENKINS-13361:
------------------------------------

             Summary: Build IPA causes dSYM.zip to include absolute paths
                 Key: JENKINS-13361
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13361
             Project: Jenkins
          Issue Type: Bug
          Components: xcode
    Affects Versions: current
            Reporter: Bryan Rahn
            Priority: Blocker


Here is a sample of the 1.2.1 Xcode plugin build IPA:

[build] $ zip -r -T -y MyApp-Alpha-380-dSYM.zip MyApp.app.dSYM
  adding: MyApp.app.dSYM/ (stored 0%)
  adding: MyApp.app.dSYM/Contents/ (stored 0%)
  adding: MyApp.app.dSYM/Contents/Info.plist (deflated 52%)
  adding: MyApp.app.dSYM/Contents/Resources/ (stored 0%)
  adding: MyApp.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
  adding: MyApp.app.dSYM/Contents/Resources/DWARF/MyApp (deflated 69%)



Here is the output of the 1.3.1 release Xcode plugin build IPA:

[build] $ zip -r -T -y MyApp-Alpha-416-dSYM.zip /Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM
  adding: Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/ (stored 0%)
  adding: Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/ (stored 0%)
  adding: Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Info.plist (deflated 52%)
  adding: Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Resources/ (stored 0%)
  adding: Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
  adding: Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Resources/DWARF/ExpediaBookings (deflated 69%)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
Evan Doll commented on Bug JENKINS-13361

This is causing some problems when we upload our zipped .dSYM to our crash reporting service.

I've modified it locally to use "ditto -c -k --keepParent -rsrc" rather than zip, seems to work fine.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Evan Doll commented on Bug JENKINS-13361

Added a pull request with a fix: https://github.com/jenkinsci/xcode-plugin/pull/13

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
lacostej commented on Bug JENKINS-13361

I tested the 2 alternatives pull requests on the command line (https://github.com/jenkinsci/xcode-plugin/pull/12 and https://github.com/jenkinsci/xcode-plugin/pull/13)

rm -r tmp
mkdir -p tmp
cd tmp
mkdir -p Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/
mkdir -p  Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/ 
echo "HIHO" > Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Info.plist 
mkdir -p Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Resources/DWARF/
echo "HIHO" > Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM/Contents/Resources/DWARF/ExpediaBookings

# pull request #12
zip -r -T -y -j zip-dSYM.zip Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM
# pull request #13
ditto -c -k --keepParent -rsrc Users/Shared/Jenkins/Home/jobs/MyApp/workspace/build/MyApp.app.dSYM ditto-dSYM.zip 

unzip -l zip-dSYM.zip
unzip -l ditto-dSYM.zip

Only pull request #13 preserves the directory layout.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
lacostej commented on Bug JENKINS-13361

On the command line, I had to invert the arguments. Ditto requires the zip file last. This is suspicious.
Unfortunately I am unable to get a job config where my project generates a separate dSYM directory. My dSYM directory appears as part of the .ipa instead.
So I am unable to test the merged patch.

Please test https://buildhive.cloudbees.com/job/jenkinsci/job/xcode-plugin/ws/target/xcode-plugin.hpi and report.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
lacostej commented on Bug JENKINS-13361

OK. I finally got xcode to run the command and it indeed fails. Patch coming.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13361) Build IPA causes dSYM.zip to include absolute paths

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
lacostej resolved Bug JENKINS-13361 as Fixed

Fixed in xcode 1.3.2

Change By: lacostej (25/Nov/12 10:31 PM)
Status: Open Resolved
Assignee: lacostej
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...