-
1. Re: Creating a native extension that needs to link to libicucore.dylib
neh@adobeFeb 1, 2012 10:26 PM (in response to Michelle_vey)
Have you added -licucore in Other Linker flags under Xcode project settings, while creating your .a?
-
2. Re: Creating a native extension that needs to link to libicucore.dylib
Michelle_vey Feb 1, 2012 11:50 PM (in response to neh@adobe)I was including the framework libicucore.dylib in the project, but I don't think you can add -licucore to a static library or you'll get linker errors. -licucore is not an object file (not allowed in a library). Including the framework was just because I was being paranoid and I think it is ignored. Typically you only need to add framework or -licucore to application including the static library.
Do you know of a way to add -licucore to static library when building in xcode? Have you seen this work in creating the final application?
Any thoughts? This is has completely stopped our progress so any help would be great.
Thanks,
Michelle
-
3. Re: Creating a native extension that needs to link to libicucore.dylib
neh@adobeFeb 2, 2012 2:33 AM (in response to Michelle_vey)
I was talking about going to your Xcode settings>Build>Linking> and adding -licucore in the Other Linker Flags section. I haven't tried this though.
-
4. Re: Creating a native extension that needs to link to libicucore.dylib
Michelle_vey Feb 2, 2012 10:21 AM (in response to neh@adobe)Thanks for getting back to me.
Yes, I completely understand what you are asking and it's not possible to add that to other linker flags when you are building a static library. You can try it yourself (as I did to confirm) by creating a new project ->static library and building. Then add -licucore to other linker flag and try to build. You will see the errors. If not, please let me know what I am doing wrong.
Could you please take the time to get this working on your end and advise the best solution. You documentation on this is very sparse and I feel you have left your developers with limited resources for working through these issues.
I'm sure others will benefit from the solution as well.
-
5. Re: Creating a native extension that needs to link to libicucore.dylib
Michelle_vey Feb 6, 2012 10:57 AM (in response to Michelle_vey)Hi Neh -
rajorshi asked that I share my project files with you (http://blogs.adobe.com/rajorshi/2011/11/16/ios5-support-for-airusing-external-sdks-to-pack age-apps/).
What is the best way to do that? We are at a standstill until we get this resolved.
Thanks,
Michelle
-
6. Re: Creating a native extension that needs to link to libicucore.dylib
chris.campbellFeb 6, 2012 5:29 PM (in response to Michelle_vey)
Hi Michelle,
Feel free to send them via email to me (ccampbel@adobe.com) and I can forward them along to the appropriate person or you can send me a dropbox link. Our corporate firewall typically blocks attachments for most people but I've had my email settings changed so that these get through to me.
Chris