-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building for iOS Simulator, but linking in dylib built for iOS #318
Comments
Hello @kolindalanaresh Apologies for the delay in our response. The reason this is happening is because, at the moment, we currently do not support Xcode 12 with our SDKs. However, from version 5.8, we plan to add support for version 12. Hope this helps. Regards, |
Just to follow-up on my previous response. Did you try implementing the Regards, |
Hi @mparadina currently we have installed using pods. |
@mparadina when 5.8 will be released? Currently it blocks our release with fixes for iOS 14 so it is a bit urgent. UPDATE: found solution on our side. |
Thank you for the feedback. Would you mind sharing the solution with us? Regards, |
@mparadina it is complex issue for us because we implementing fat library and Microblink is a dependency of our lib and host app. To resolve issue on host app we add post_install hook described here and added |
Hi @vg-identance and @kolindalanaresh Just to follow-up on this thread. We've released BlinkID 5.8 that is compatible with Xcode version 12. If possible, could you try to run your projects with version 5.8 and see if the issue has been resolved? Also, feel free to ask in case of any additional inquiries come up. Regards, |
@mparadina Just tested and can tell that issue still exists.
|
So you're saying that the issue is fixed for you, but then you're also suggesting that we change some things? VALID_ARCHS is no longer used in Xcode 12. So when building for simulator, if "Build Active Architecture Only" is set to NO (typical for release configuration), we had to ensure that only compatible architectures are considered. We did that by setting ARCHS[sdk=iphonesimulator*] to "x86_64". Regards, |
Hi @mijo-gracanin Ok I understand now how you removed arm64 from simulator build, but I don't understand why you did that for |
@vg-identance To my knowledge, we don't have issues with xcframework. You obtained the SDK via cocoapods? do you have It should contain x86-64 arch. |
@mijo-gracanin yes using cocoapods but in podspec no |
@vg-identance ok, we'll fix the podspec to have xcframework. I still don't understand why would you need arm64 for simulator build? Simulator runs on a mac, which (still) has an x86-64 CPU, so it can not run arm64 build.
Would it be possible for you to send us a sample project which demonstrates the issue ( Thanks, |
Because we can support this now. No need to wait until ARM CPU will be released. |
@vg-identance I agree that it would be nice to make the SDK future-proof. We'll see what can be done about it. We generate Xcode project with cmake and the full statement looks like this: |
@mijo-gracanin Ok thanks. Will wait updates about it. |
@mijo-gracanin is this is fixed because after updating to 5.8.0 then also it is not working. Can you please help us ASAP. |
@kolindalanaresh the fix is scheduled for 5.11.0 release. which should be out in March or April. |
Hi,
My project is working fine in Xcode 11 version while running in Xcode 12 beta 4 getting like below.
ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Projectfolder/Pods/PPBlinkID/Microblink.framework/Microblink' for architecture arm64. Kindly help me on this
Thanks in Advance
The text was updated successfully, but these errors were encountered: