Right now my app builds fine when running a debug build but as soon as I try and run a release build I get a ton of warnings saying "Could not open fork matching current architecture for OSO archive “filename.a”. The app then crashes when trying to load a UIImage in line 206 of ofPixels.cpp.
Example below:
warning: Could not open fork matching current architecture for OSO archive "/Users/admin/Source/github/RGBlaster/of_preRelease_v007_iphone/apps/builds/RGBlaster/../../../libs/freetype/lib/iphone/freetype.a"
warning: Could not open OSO file /Users/admin/Source/github/RGBlaster/of_preRelease_v007_iphone/apps/builds/RGBlaster/../../../libs/freetype/lib/iphone/freetype.a(ftbase.o) to scan for pubtypes for objfile /Users/admin/Library/Developer/Xcode/DerivedData/RGBlaster-gnyuntlubjefunelnaacyybmvuue/Build/Products/Release-iphoneos/RGBlaster.app/RGBlaster
warning: Could not open fork matching current architecture for OSO archive "/Users/admin/Source/github/RGBlaster/of_preRelease_v007_iphone/apps/builds/RGBlaster/../../../libs/freetype/lib/iphone/freetype.a"
warning: Could not open OSO file /Users/admin/Source/github/RGBlaster/of_preRelease_v007_iphone/apps/builds/RGBlaster/../../../libs/freetype/lib/iphone/freetype.a(ftinit.o) to scan for pubtypes for objfile /Users/admin/Library/Developer/Xcode/DerivedData/RGBlaster-gnyuntlubjefunelnaacyybmvuue/Build/Products/Release-iphoneos/RGBlaster.app/RGBlaster
Any ideas why this might be happening? Incorrect linking to the libs folder? The OSO warning is thrown for pretty much every .a file in the libs folder. Any help or insight would be appreciated.