<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This error is because of the CONFIGURATION_BUILD_DIR try TARGET_BUILD_DIR instead<br><div><div>On 7 Apr,2014, at 11:20 , Erik Jan de Wit <<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I’ve tried to build with this script but it doesn’t work. I was also in the progress of creating a script that would do exactly the same to release the push plugin and always include the latest aerogear-push-ios-registation release as a binary<div><br></div><div>This is the error I get:</div><div><br></div><div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC </div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lPods</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lPods is not an object file (not allowed in a library)</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0); min-height: 14px;"><br></div><div><br><div><div>On 7 Apr,2014, at 10:53 , Andrea Vibelli <<a href="mailto:avibelli@redhat.com">avibelli@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all, <br>for those who are not able or willing to use Cocoapods, it would be nice to distribute a static binary library of aerogear-push-ios-registration.<br>In order to support multiple platforms without the need to create multiple configurations or build products, I think that the best way would be to create a universal binary (aka fat library) that contains the object code for both architectures (device + simulator) and the public headers files.<br><br>Going further, from the universal library it could be possible to create a framework, that would bring everything together into one package (a directory with a known structure). Packaging a library as a framework simplifies things for developers because it not only provides a binary to link against but it includes all of the necessary header files to reference as well.<br><br>I have tried to create a script that builds a universal static library first and then a framework (putting together some links [1],[2],[3],[4]), is anybody willing to help to check it and test the built bits inside the cordova-push-plugin?<br><br>You can find the script here: <a href="https://github.com/vibe13/aerogear-push-ios-registration/blob/master/universal_lib-framework_build.sh">https://github.com/vibe13/aerogear-push-ios-registration/blob/master/universal_lib-framework_build.sh</a><br><br>The script should be placed inside the project root and run: ./universal_lib-framework_build.sh<br><br>Thank you <br>Andrea<br><br>[1] <a href="http://www.meonbinary.com/2013/07/creating-universal-ios-framework">http://www.meonbinary.com/2013/07/creating-universal-ios-framework</a><br>[2] <a href="http://spin.atomicobject.com/2011/12/13/building-a-universal-framework-for-ios/">http://spin.atomicobject.com/2011/12/13/building-a-universal-framework-for-ios/</a><br>[3] <a href="https://github.com/jverkoey/iOS-Framework">https://github.com/jverkoey/iOS-Framework</a><br>[4] <a href="http://www.cocoanetics.com/2010/04/making-your-own-iphone-frameworks/">http://www.cocoanetics.com/2010/04/making-your-own-iphone-frameworks/</a><br><br><br><br><br><br><br><br><br>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div></div></blockquote></div><br></body></html>