• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to strip Cocoa Touch frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to strip Cocoa Touch frameworks


  • Subject: Re: How to strip Cocoa Touch frameworks
  • From: Andreas Falkenhahn <email@hidden>
  • Date: Wed, 28 Dec 2016 12:24:42 +0100

On 27.12.2016 at 23:59 Alex Zavatone wrote:

> OK, Andreas.  If you want, I'll get on Skype and we can go over
> this.  Not like I can do anything about this (I don't work at Apple).

Sorry, I don't have Skype. I have created a minimal sample project
for you to verify the problem, though.

Here is what I did in Xcode 8.2:

1) Create new Cocoa Touch Framework project

2) Add the following C code to it:

   void mytestsymbol(void)
   {
       printf("Hello Framework!\n");
   }

3) Change "Strip Style" in "Build Settings" to "All Symbols".

4) Run "Archive"

5) Et voila, strip (which is run by Xcode in the build process)
now reports the following error:

   "Symbols referenced by indirect symbol table entries that can't be stripped in: ..."

Here is the test archive for reference: http://www.falkenhahn.com/tmp/framework_test.tar.gz

Alternatively, you may also just want to repeat the 5 five steps presented
above in your Xcode to reproduce the problem on your machine. It's less than
a minute of work to see the problem...

--
Best regards,
 Andreas Falkenhahn                            mailto:email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >How to strip Cocoa Touch frameworks (From: Andreas Falkenhahn <email@hidden>)
 >Re: How to strip Cocoa Touch frameworks (From: Quincey Morris <email@hidden>)
 >Re: How to strip Cocoa Touch frameworks (From: Andreas Falkenhahn <email@hidden>)
 >Re: How to strip Cocoa Touch frameworks (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: cocoapods
  • Next by Date: When archiving a build, what is "Setting Mode" doing?
  • Previous by thread: Re: How to strip Cocoa Touch frameworks
  • Next by thread: Re: How to strip Cocoa Touch frameworks
  • Index(es):
    • Date
    • Thread