Re: X-Code Deployment style problem
Re: X-Code Deployment style problem
- Subject: Re: X-Code Deployment style problem
- From: Shawn Erickson <email@hidden>
- Date: Mon, 7 Feb 2005 13:22:56 -0800
On Feb 7, 2005, at 12:13 PM, John Draper wrote:
Hi,
In response to the "lack of response" I've gotten from this list from an earlier
posting, I'm suspecting that either my questions are so lame nobody bothered to
lower themselves in answering them, or nobody knew. Shame on Apple for
totally ignoring this list - I have spent considerable time, and have yet to see
just ONE posting my anyone at Apple, and yet in the ADC site, they claim
Apple actually reads this list... Is it true, or is it just because of my very often
BAD TIMING to come in and read it at the wrong time.
Tip one if you want to improve you chances of getting help... don't vent at the folks you are wanting help from and keep things short.
Tip two this isn't a direct channel to Apple... use <http://developer.apple.com/bugreporter/>, <email@hidden>, or contact DTS directly if you want to contact Apple.
Now, my application is ready for a release to my boss, so I thought I should try and
build it with the "Deployment" style. Seemed simple enough!!!
Ok, so next, just to be sure, I unloaded ALL of the Objects with "Clean all targets"
and did a build from scratch, only to get...
ld: /Users/me/Documents/Forbes/Development/MyApp/build/MyApp.build/MyApp.build/Objects-normal/ppc/Controller.o illegal reference to symbol: _MD5_Init defined in indirectly referenced dynamic library /usr/lib/libcrypto.0.9.7.dylib
Ok, so WTF? What do they mean "Illegal reference to symbol: _MD5_Init?
also what do they mean when they say "defined in indirectly referenced dynamic library"?
The main difference between the default Deployment and Development build style is symbols, optimization and the ZeroLink. The above is likely a result of ZeroLink being off in the Deployment build so the normal linker is being used. For that to work you need to insure that the required frameworks or libraries are marked as linked (in use by the target) for things to be built the correct way.
In this case just add the needed dynamic library /usr/lib/libcrypto.dylib and make sure it is check to be included as part of the target you are building (the little checkbox under the target column).
It works for me.
-Shawn
_______________________________________________
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