You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Amplitude (via SPM) version 7.1.1 shows this compilation error:
/Users/denis/Library/Developer/Xcode/DerivedData/Foobar-awgcdxfkjlfukvbohsvthoiwjurr/SourcePackages/checkouts/Amplitude-iOS/Sources/Amplitude/AMPInfoViewController.h:26:9: UIKit is not available when building for macOS. Consider using #if !TARGET_OS_OSX to conditionally import this framework, first importing TargetConditionals.h if necessary.
/Users/denis/Library/Developer/Xcode/DerivedData/Foobar-awgcdxfkjlfukvbohsvthoiwjurr/SourcePackages/checkouts/Amplitude-iOS/Sources/Amplitude/AMPEventExplorer.m:27:9: UIKit is not available when building for macOS. Consider using #if !TARGET_OS_OSX to conditionally import this framework, first importing TargetConditionals.h if necessary.
Possible Solution
Downgrading back to 7.0.1 fixes the issue.
Steps to Reproduce
Create a new macOS App project
Add Amplitude as a SPM dependency (File->Swift Packages->Add Package Dependency add https://github.com/amplitude/Amplitude-iOS)
Try to build
Error!
Environment
OS Version: macOS 10.15.4
Xcode: 12.0.1
The text was updated successfully, but these errors were encountered:
Current Behavior
Adding Amplitude (via SPM) version 7.1.1 shows this compilation error:
Possible Solution
Downgrading back to 7.0.1 fixes the issue.
Steps to Reproduce
https://github.com/amplitude/Amplitude-iOS
)Environment
The text was updated successfully, but these errors were encountered: