Closed kcw-grunt closed 7 months ago
I'm not able to replicate the same. Could you share the podfile and podfile.lock? It could be that there is a conflict.
Thanks @benw-pusher for looking. Actually using the swift package not cocoapods
I noted the docs dont explicit allow as a package but is was found in the Swift Package index/registry and we are not interesting in re-adding Cocoapods.
Did you guys test with the SPM?
I believe this s tested with SPM. Have you followed the instruction here?
Hi @benw-pusher , Yes I have successfully installed the library into a few projects.
Do all project experience the same issue or just this one?
No @benw-pusher just this one. My guess is the search paths are borked. But, I tried comparing the two and they seem to be the same. The project is open source. Maybe you can see something obvious? https://github.com/litecoin-foundation/litewallet-ios
UPDATED: @benw-pusher this was a case of name collision.
PushNotifications
was already used in the codebase.
Refactored accordingly
Closing
Problem
After installing the package per instructions, Xcode is unable to access the framework.
Steps to recreate the issue
https://github.com/pusher/push-notifications-swift/
package dependencyimport PushNotifications
toApp Delegate
let pushNotifications = PushNotifications.shared
toApp Delegate
Environment
Xcode 15.0.1 Swift version 4.2