Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Building for iOS, but linking in object file built for Mac Catalyst #254

Open
3 of 11 tasks
SmileCicy opened this issue Apr 4, 2023 · 1 comment
Open
3 of 11 tasks
Assignees
Labels

Comments

@SmileCicy
Copy link

Can't run app in iPhone while using Xcode 14.3

In /Users/xxx/Library/Developer/Xcode/DerivedData/xxx-dnnhlltzmmizttafdfsfebinojqo/Build/Products/Debug-iphoneos/CrashReporter.framework/CrashReporter(CrashReporter-arm64-master.o), building for iOS, but linking in object file built for Mac Catalyst, file '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-dnnhlltzmmizttafdfsfebinojqo/Build/Products/Debug-iphoneos/CrashReporter.framework/CrashReporter'
Linker command failed with exit code 1 (use -v to see invocation)

This Bug is About
Please choose the closest item by replacing [ ] with [x].

  • Integration
  • Analytics
  • Ads
  • Messaging/Push
  • IAP
  • Remote Configuration
  • Flurry Website/Dashboard
  • Other

Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

  • iOS
  • tvOS
  • WatchOS

Environment
Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

  • Flurry SDK: 12.2.0
  • Xcode: 14.3
  • iOS: 16.3.1
@flurrydev
Copy link
Contributor

@SmileCicy I wasn't able to reproduce this issue on xcode 14.3 on either Intel or M1 Macs. I have posted a working sample project here: https://github.com/flurrydev/Flurry-iOS-core-analytics-sample-ObjC

Somethings I can suggest are to delete the derived data folder, or remove Flurry from your pod file update and then add Flurry back in.

Also if you can provide me a similar sample app that reproduces the error I will investigate further.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants