Skip to main content
Santanu Karar
Known Participant
April 16, 2014
Question

Is XIB not supported in static library (for creating Native Extension)?

  • April 16, 2014
  • 1 reply
  • 1624 views

Hello,

These day I'm trying to build a static library in XCode to build a Native Extension. The original project from which I'm creating a static library is runs well on device. But when I creates a static library project along with one XIB file within, and port it to the Adobe AIR, the expected XIB view never opens up.

Somewhere some gentleman mentioned that static library can not include XIB, graphics file etc. Is that true (http://stackoverflow.com/questions/2797214/trouble-using-xib-files-in-libraries)? Can't I bundle an ANE with XIB support?

Thanks.

Santanu

This topic has been closed for replies.

1 reply

User Unknow
Legend
April 16, 2014

Also want to know this Current project may require loading xib over Adobe Air. I suggest to start from here http://stackoverflow.com/questions/7814928/how-to-load-a-xib-file-in-a-uiview and this http://forums.adobe.com/message/4621408

Let me know if this works and would be gr8 if you can share your solution as opensource

Santanu Karar
Known Participant
April 17, 2014

Hei Anton,

Thanks for your reply.

I finally managed to package my XIB to ANE! I required to compile the XIB to do this. Just create a BUNDLE in ObjectiveC, reference the bundle in your static library project, loads the XIB.

I am trying to create a GitHub project as open source for my Moodstocks (http://moodstocks.com) ANE sooner possible.

Cheers!

User Unknow
Legend
April 17, 2014

Santanu ) Thanks also! Looking forward to see Git project!