bizz84 / bizz84/SwiftyStoreKit

dyld: Library not loaded: @rpath/SwiftyStoreKit.framework/Versions/A/SwiftyStoreKit - macCatalyst

Open
#625 1 comment 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

## Run fails with the error for mac Catalyst

```
require 'cocoapods-catalyst-support'
platform :ios, '10.0'

target 'MyApp' do
use_frameworks!

pod 'SwiftyStoreKit'
end

# Configure your macCatalyst dependencies
catalyst_configuration do
# Uncomment the next line for a verbose output
verbose!

# ios '' # This dependency will only be available for iOS
# macos '' # This dependency will only be available for macOS
end

post_install do |installer|

installer.configure_catalyst
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'Yes'
end
end
end
end
```

This is my `podfile` ,ya this contains more pods other. than `SwiftyStoreKit`.
i am able to run without the `SwiftyStoreKit`, but if i add at then getting this error and breakpoint

```
dyld: Library not loaded: @rpath/SwiftyStoreKit.framework/Versions/A/SwiftyStoreKit
Referenced from: /Users/admin/Library/Caches/...../Build/Products/Debug-maccatalyst/MyApp.app/Contents/MacOS/MyApp
Reason: image not found
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.