Skip to content
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

error IOS Xcode 12.5 #313

Closed
77TecShaeer opened this issue May 11, 2021 · 5 comments
Closed

error IOS Xcode 12.5 #313

77TecShaeer opened this issue May 11, 2021 · 5 comments

Comments

@77TecShaeer
Copy link

Property 'defaultSettings' not found on object of type 'SEGAnalyticsConfiguration *'
Screen Shot 2021-05-11 at 9 50 43 PM

package.JSON
"@segment/analytics-ios": "github:segmentio/analytics-ios#3.6.10",
"@segment/analytics-react-native": "^1.3.2",
"@segment/analytics-react-native-appsflyer": "^1.4.4",

@alanjcharles
Copy link
Contributor

Hi @77TecShaeer can you update analytics-ios to >4.1 and update analytics-react-native to 1.4.4 ? Please feel free to re-open if the issue persists

@77TecShaeer
Copy link
Author

77TecShaeer commented May 11, 2021

@alanjcharles when upgrade that get error in pod
ld: warning: directory not found for option '-L-L/Users/mahmmoud/Library/Developer/Xcode/DerivedData/faheemApp-dgrwdtuosbanudfrhgjyyxfgywdy/Build/Products/Debug-iphonesimulator/Analytics'
ld: library not found for -lAnalytics
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Uploading Screen Shot 2021-05-11 at 10.09.14 PM.png…

@alanjcharles
Copy link
Contributor

@77TecShaeer what is the analytics-ios version in your podfile.lock? Can you make sure that's updated as well?

I ran into some issues getting React Native apps to build on xCode 12.5 as well but that isn't related to the analytics-react-native library itself. You might have to delete your DerivedData and update your podfile: react-native-community/upgrade-support#155

@77TecShaeer
Copy link
Author

77TecShaeer commented May 11, 2021

@alanjcharles analytics-ios. -> 4.1.4
i did not use Flipper-Folly 😑

@alanjcharles
Copy link
Contributor

@77TecShaeer I'm not able to replicate your issue, I'm afraid. Using Xcode 12.5:

package.json:
image

successful build:
image
image

I don't have analytics-ios in my package.json either.

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

No branches or pull requests

2 participants