-
Notifications
You must be signed in to change notification settings - Fork 107
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
Submit to App Store issues: Unsupported Architecture x86 #60
Comments
@malangaveuday - When a framework is distributed, it contains architectures of the simulators so that the consumer of the framework can build it on a simulator. However, when you are uploading the archive on itunes, you have to strip these architectures. If you would have been using cocoapods, it would have been done by it. Since, probably you are not using it, please run the attached script on the Razorpay.framework within your archive or before create the archive. |
@AbhinavArora95 Thanks for the solution. you saved my day! |
@AbhinavArora95 fatal error: lipo: can't open input file: Razorpay.framework/Razorpay (No such file or directory) Please let me know what I am doing wrong here Thanks |
Have you included |
@pronav yes I have in included, but now I am able to upload the build in apple store. |
@mukulkumar1703 how did you solved the problem? I am getting the same error. |
in which folder, we need to run command. Plz share ! I have these valid architecture , Do need to run that command ? |
I am also facing this issue . Any solution for this ? |
@AbhinavArora95 I am not a Swift developer and I don't understand, "Locate the directory in which Razorpay.framework is present in the archive that you are trying to upload." Could you please share specific steps? Also this FAQ step couldn't help: https://razorpay.com/docs/payment-gateway/ios-integration/faq/ I couldn't find the directory where Razorpay.framework is localited. |
Hi @iamromec : Can you give me more details about this, Also it will help if you can add some logs or screenshots. |
@Nautiyalsachin here's the video link I was asked to follow: https://www.youtube.com/watch?v=HVGUBRot7VA&feature=youtu.be but didn't work. |
I'm using IONIC Version: 5.0.0 |
Can you tell me the steps, how you try to install the Razorpay plugin? |
To install the plugin, I used: ionic cordova plugin add com.razorpay.cordova And then ionic cordova build ios --prod Then went to platforms/ios and clicked on .xcworkspace. |
@iamromec: I guess you are using Angular, as you have mentioned Cordova in the question, and for future references please raise the issue in Razorpay Cordova repository.
We are updating our Cordova package soon. For now, you can install it directly from Github. Let me know if it works for you. |
Do I still need to add that script? |
Ah! Man. With this, it conflicts with other plugins within the project. Like GooglePlus. When I removed it and re-added the platform, it works fine. But not with the |
@Nautiyalsachin are you looking into? |
This is an iOS related issue. Follow the steps mentioned in this link, also please try to google the issues you face. Sometime you might get lucky there. |
It isn't. It's occurring when I install the plugin with the URL you've mentioned. If I remove it, it works fine so it should be something with it I guess. You are testing with sample project but in reality, there won't be a project just with only Razorpay plugin. |
Why would I post here if I could just find it on Google? I did and sent you all the resources I found related to this. Even I've followed what your official docs say. |
@iamromec : As I can't see anything related to Razorpay, I won't be able to resolve this issue here, you can try it by searching in Google plus repositories for more details. |
What? Everything is working smoothly without the plugin with URL you've specified and when I do this, it creates conflicts and you're talking that it's not related to Razorpay? How so? It works fine even with the existing plugin command cordova plugin add com.razorpay.cordova and just the problem is with the archive file. Why are you not getting the point that it's obviously related to Razorpay? |
Okay, try adding the script again as I can see the simulator architecture in that. It will help you to archive the Google Plus framework. |
Yeah but I'm unable to succeed with |
Have you already added the script? |
No. |
Is it possible for you to take this on TeamViewer? |
So, you are able to archive ? |
The build is working on the simulator...it's just when distributing to the app store, it gives this error. I think you missed some parts of the problem which I've sent in the starting. |
Closing this issue as this is resolved. |
iTunes store throws the error when tried to upload archive build from Xcode.
The text was updated successfully, but these errors were encountered: