-
Notifications
You must be signed in to change notification settings - Fork 263
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 object file built for iOS. #744
Comments
Exactly same issue for me. I hang on to it too. |
Same for me too! |
anyone figured this out? |
@sethmills21 I've reached out to OneSignal team at the dashboard. However, there's no answers to this yet |
I had the same error but not the same way to reproduce it. My problem was when I tried to run the app on the simulator. I’m using React native. Let me know if it helps. |
This appears to be due to a Cocoapods compatibility issue with XCode 12, as mentioned in the issue here CocoaPods/CocoaPods#10059. Please try the recommendation in that thread to work around this for now:
|
@gdeglin! thanks for the link. I'm still seeing weird stuff while uploading: And it sort of looks specific to the OS pod and extension? Knew I should have waited a few weeks for Xcode12 update haha |
Thanks for the response George, added that line and doing some more debugging now ✅
Seth Miller | CEO
e: seth@rapchat.me ( seth@rapchat.me )
p: 614-634-2357
https://instagram.com/rapchatapp ( https://instagram.com/rapchatapp )
https://rapchat.me ( https://rapchat.me )
…On Thu, Sep 24, 2020 at 1:27 AM, George Deglin < ***@***.*** > wrote:
This appears to be due to a Cocoapods compatibility issue with XCode 12,
as mentioned in the issue here CocoaPods/ CocoaPods#10059 (
CocoaPods/CocoaPods#10059 ).
Please try the recommendation in that thread to work around this for now:
>
>
> add x86_64 to VALID_ARCH if need to run app on simulator, e.g., x86_64
> arm64 arm64e
>
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
#744 (comment)
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AB4QXU45253DY42MNXB4BVDSHLKFJANCNFSM4RSVSDNQ
).
|
This has worked for me https://stackoverflow.com/a/63955114 Closing this issue. Thanks @gdeglin ! |
I'm building the project for iOS simulator on Silicon M1. Excluding arm64 architecture for the simulator seems not an appropriate solution for me. Any idea on this? |
@cclaflin89 me too face same issue with M1 silicon any ideas ?? |
@Rahulbhutani97 OneSignalXCFramework 3.2.0 released last week worked for me. |
how can i do that please help |
In your Podfile, set the pod name to |
No its done :)
…On Tue, Feb 23, 2021 at 12:48 AM Rodrigo Gomez Palacio < ***@***.***> wrote:
how can i do that please help
In your Podfile, set the pod name to OneSignalXCFramework and the version
to 3.2.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#744 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJOP2B72IQVEQLLSGERELV3TAKUWVANCNFSM4RSVSDNQ>
.
|
Hi, how did you solve this problem? I've tried with adding excluded archs for arm64. But it's still the same. Thanks |
By using this
OneSignalXCFramework 3.2.0 released last week worked for me.
…On Mon, 8 Mar, 2021, 9:30 am Juandro Sobath Lumbantoruan, < ***@***.***> wrote:
Hi, how did you solve this problem? I've tried with adding excluded archs
for arm64. But it's still the same. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#744 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJOP2B33YQPNXV2OJE3WEALTCRDUNANCNFSM4RSVSDNQ>
.
|
using OneSignalXCFramework fixed the issue Another solution for M1 Macs: running Xcode under Rossetta will fix the issue (only temporary workaround)
** This will cause a decrease in speed and performance in Xcode and simulator |
is using OneSignalXCFramework even though it is not M1 solved the issue? I can't build in my QAT environment. ld: in /Users/ai/Documents/perahub-ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/ai/Documents/perahub-ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal' |
I was able to solve it by changing the build settings for the This StackOverflow thread is also related: https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios/63955114#63955114 |
worked on M1 |
Using the
|
Error (Xcode): In /Users/noob/Documents/Flutter/OutSide Projects/Shakib/Project-3/texibooking/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/noob/Documents/Flutter/OutSide Projects/Shakib/Project-3/texibooking/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal' Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation) I am not getting any solution. Anyone can help me to solve this? |
same issue. |
Description:
Cocoapod build failed on XCode 12.0. The build runs perfectly fine on XCode, but it failed when doing
pod lib lint
which is using the toolxcodebuild
. The error is the following:I have searched for answers, there are multiple promising solutions, but none of them works for me:
Please let me know if there are any additional information I can give, like stack trace, additional environment details, etc.
Environment
Steps to Reproduce Issue:
git clone https://github.com/cotterapp/ios-sdk.git
cd ios-sdk
pod lib lint --verbose
to see the error I'm getting.Anything else:
(crash stacktraces, as well as any other information here)
The text was updated successfully, but these errors were encountered: