This problem seams still not no be fixed.
Since not anyone is that familiar with terminal scripts in mac, here is how I did it:
- Create a script file: FixWikitudeIOS.command
- Use this code:
#!/bin/sh
fix()
{
lipo -remove i386 $1 -o $1
lipo -remove x86_64 $1 -o $1
}
fix "/Users/.../UnityBuildDirectory/Frameworks/Plugins/iOS/WikitudeNativeSDK.framework/WikitudeNativeSDK"
- Open the terminal to give the file access with this command:
chmod u+x /Users/.../FixWikitudeIOS.command
- Run the file (double-click). If you get error messages, it's probably the path
Regards,
Simon
Hi Gabriel,
Also the Unity version looks fine for me.
Could you do me a favour and check that only one version of the WikitudeNativeSDK.framework is in your project and that this one only contains armv7, armv7s and arm64 architecture slices by running `lipo -info *path/to/the/WikitudeNativeSDK.framework/WikitudeNativeSDK*? Please send me the output of the before mentioned command.
Best regards,
Andreas
Hi Gabriel,
The script you're referring to seems fine. We used a similar one to submit Apps to the AppStore already.
Which version of Xcode are you using? We build our SDK with the latest stable version of Xcode (8.3.3), so you might need to update your version of Xcode to be compatible with our SDK.
Best regards,
Andreas
Gabriel Freisz
Hi,
Recently we updated wikitude to version 7 and now we are having trouble to submit the app to the AppStore. I am attaching here the error that we are getting.For the first error (x86_x64, i386), we already tried this solution without any luck.
"http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/"
We really need to unlock it fast because we need to start testing it on iOS and with the version 7 we also have problems in Android, so, it's a little bit frustrating!!
We are using:
- Unity 5.6.0f3
- Wikitude SDK for Unity 7.0.0
- xCode 8.3.3
Thanks,
Gabriel