I have build an iOS framework and it is working fine with adhoc and development profiles but appStore submission is getting failed due to codesign errors. Is there any command like:
lipo -remove codesign
to remove codesign from my Framework? Thanks in advance.
If anyone still face this issue then following was my solution:
Build 1st framework for device and 2nd framework for simulator
Strip off the simulator slices of 2nd framework by using lipo -info
to see the simulator architecture, then remove them using commands
lipo -remove x86_64 MyFrameWork -o MyFrameWork
lipo -remove i386 MyFrameWork -o MyFrameWork
Remove the codesign of 1st framework by following step 2
Use lipo
to create universal iOS framework from previous both framework. this universal framework can be used in the project which will be codesign under that project and no issue in submitting to the AppStore.