Hi I'm trying to make my first framework in iOS. I've been searching for a few days and finally got it, i'm using this Tutorial which is very simple and straightforward.
But I'm having a bit of a problem understanding one thing. My app that is using the framework can build and run with a real device but can't do it with the simulator.
The Aggregate Target script puts together the two static libraries (Simulator and Device) in one Binary:
xcrun lipo -create "${BUILT_PRODUCTS_DIR}/${SF_EXECUTABLE_PATH}" "${SF_OTHER_BUILT_PRODUCTS_DIR}/${SF_EXECUTABLE_PATH}" -output "${BUILT_PRODUCTS_DIR}/${SF_WRAPPER_NAME}/Versions/A/${SF_TARGET_NAME}"
I build that Aggregator Target and go to my Products folder and has two folders in it:
I'm using the framework that's inside Debug-iphoneos. Shouldn't be only one folder, since I compile to one Universal Framework? What am I missing or doing wrong? Thank you in advance.