Search results for

“missing package product”

55,545 results found

Post

Replies

Boosts

Views

Activity

Reply to ios app products are only permitted in swift playground packages error
It sounds like the package you forked from was made for use in Swift Playgrounds! That means it will have an iOSApplication product, which is only usable in the context of a Swift Playgrounds application. If you add the .swiftpm file extension to the folder that contains the package, you can open it in Swift Playgrounds or Xcode and use it as intended. If you don't use the iOS application product and don't want it, you can edit your Package.swift to remove it from the list of products.
Oct ’24
Swift Package Manager - Package Download Issue
We have developed a custom iOS framework called PaySDK. Earlier we distributed the framework as PaySDK.xcframework.zip through GitHub (Private repo) with two dependent xcframeworks. Now, one of the clients asking to distribute the framework through Swift Package Manager. I have created a new Private repo in the GitHub, created the new release (iOSSDK_SPM_Test) tag 1.0.0. Uploaded the below frameworks as Assets and updated the downloadable path in the Package.Swift and pushed to the GitHub Main branch. PaySDK.xcframework.zip PaySDKDependentOne.xcframework.zip PaySDKDependentTwo.xcframework.zip When I try to integrate (testing) the (https://github.com/YuvaRepo/iOSSDK_SPM_Test) in Xcode, am not able to download the frameworks, the downloadable path is pointing to some old path (may be cache - https://github.com/YuvaRepo/iOSSDK_SPM/releases/download/1.2.0/PaySDK.xcframework.zip). Package.Swift: // swift-tools-version:5.3 import PackageDescription let package = Package( name: iOSSDK_SPM_
0
0
520
Jan ’25
Reply to tvOS Upload Error ITMS-90471 Missing Images
Oh, I'm so both upset and relieved right now.TL;DRThe state of Xcode / Application Loader's underlying submission tool was corrupted. All I had to do* was delete the .itmstransporter folder in my home directory and try again. I no longer get cryptic validation errors when hitting Validate in Xcode, and I no longer get false missing images when submitting the app archive.*other than wasting valuable days of developement time searching for answers, trying every combo, and filing radars for the various failure cases *sigh*BackgroundThe real clue in all of this was the top of the log file, which showed something like this:An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.apple.transporter.asperasupport [7]: Unable to resolve 7.0: missing requirement [7.0] package; (&(package=com.apple.transporter.transport.service)(version>=1.9.6)(version<=1.9.6)) [caused by: Unable to resolv
Nov ’17
Reply to How to use dependencies in a Swift Package
Found my answer. In the target dependencies, need to include the package name as a string: // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: DBCore, dependencies: [ AgileDB ]), .testTarget( name: DBCoreTests, dependencies: [DBCore]), ]
Apr ’22
PKG Generate
Hi, I made an application in JXA that I would like to distribute. 1. I downloaded and installed an installation certificate via my developer account, 2. I generated my PKG with the following distribution XML file: ```language code-block If I right click with the mouse and then open, the PKG runs. Is a tag missing in my XML? Do I need to generate another certificate? Thanks for your help
10
0
1.5k
May ’23
“Missing required module 'XYZ'” on Unit Tests when using Swift Package Manager
I'm using Swift Package Manager on an iOS app on Xcode 11 following the instructions from https://developer.apple.com/videos/play/wwdc2019/408/Everything looks great, except Unit Tests won't work now.Screenshot: Errorhttps://www.dropbox.com/s/uws8hur4ro7bv5j/2265eb764586d19671d2e98f755533026fe76bd7.png?dl=0Screenshot: Navigatorhttps://www.dropbox.com/s/bovk30pqfa5ydw7/e7a8c97ecb1c7b30b22100c77012a65a87c91018.jpeg?dl=0Screenshot: Projecthttps://www.dropbox.com/s/p5smomqhb2n3gtc/313462f93c519e2d592792860fc62c2d1e027580_2_690x412.png?dl=0
1
0
1.5k
Sep ’19
Missing required module ‘CNIOAtomics’ when I copy CLI target product into macOS app bundle
I work on an Xcode project that has three targets: macOS app CLI shared framework (mostly shared types and constants) macOS app and CLI have NIO as a dependency. When I build and run targets in the default configuration, everything works. However, I plan to bundle the CLI into the main app bundle so users can install/symlink it to make it available in their PATH. When I add the Copy Files build phase and select the CLI product, the macOS app doesn't build with the error missing required module 'CNIOAtomics' that originates in the CLI. How to configure the build considering the requirements?
1
0
1.3k
Oct ’23
Reply to "Library not loaded: @rpath\/FlutterMacOS.framework\/Versions\/A\/FlutterMacOS"
Is it because of pkg build can I switch it to product build.Does this work
Replies
Boosts
Views
Activity
Jul ’24
Reply to Swift Playground Bundle can't find Compiled CoreML Model (.mlmodelc)
@NSApps Did you try Product > Clean Build Folder? Sometimes File > Packages > Reset Package Caches could also work when using packages in your app but I don't think it makes a difference here (since the package is the app). Did you set a team in the Signing and Capabilities editor? Maybe try to select it again.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to ios app products are only permitted in swift playground packages error
It sounds like the package you forked from was made for use in Swift Playgrounds! That means it will have an iOSApplication product, which is only usable in the context of a Swift Playgrounds application. If you add the .swiftpm file extension to the folder that contains the package, you can open it in Swift Playgrounds or Xcode and use it as intended. If you don't use the iOS application product and don't want it, you can edit your Package.swift to remove it from the list of products.
Replies
Boosts
Views
Activity
Oct ’24
Swift Package Manager - Package Download Issue
We have developed a custom iOS framework called PaySDK. Earlier we distributed the framework as PaySDK.xcframework.zip through GitHub (Private repo) with two dependent xcframeworks. Now, one of the clients asking to distribute the framework through Swift Package Manager. I have created a new Private repo in the GitHub, created the new release (iOSSDK_SPM_Test) tag 1.0.0. Uploaded the below frameworks as Assets and updated the downloadable path in the Package.Swift and pushed to the GitHub Main branch. PaySDK.xcframework.zip PaySDKDependentOne.xcframework.zip PaySDKDependentTwo.xcframework.zip When I try to integrate (testing) the (https://github.com/YuvaRepo/iOSSDK_SPM_Test) in Xcode, am not able to download the frameworks, the downloadable path is pointing to some old path (may be cache - https://github.com/YuvaRepo/iOSSDK_SPM/releases/download/1.2.0/PaySDK.xcframework.zip). Package.Swift: // swift-tools-version:5.3 import PackageDescription let package = Package( name: iOSSDK_SPM_
Replies
0
Boosts
0
Views
520
Activity
Jan ’25
Reply to tvOS Upload Error ITMS-90471 Missing Images
Oh, I'm so both upset and relieved right now.TL;DRThe state of Xcode / Application Loader's underlying submission tool was corrupted. All I had to do* was delete the .itmstransporter folder in my home directory and try again. I no longer get cryptic validation errors when hitting Validate in Xcode, and I no longer get false missing images when submitting the app archive.*other than wasting valuable days of developement time searching for answers, trying every combo, and filing radars for the various failure cases *sigh*BackgroundThe real clue in all of this was the top of the log file, which showed something like this:An error occurred while starting bundles for the software update process. Transporter will try to continue. Unresolved constraint in bundle com.apple.transporter.asperasupport [7]: Unable to resolve 7.0: missing requirement [7.0] package; (&(package=com.apple.transporter.transport.service)(version>=1.9.6)(version<=1.9.6)) [caused by: Unable to resolv
Replies
Boosts
Views
Activity
Nov ’17
Reply to How to use dependencies in a Swift Package
Found my answer. In the target dependencies, need to include the package name as a string: // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: DBCore, dependencies: [ AgileDB ]), .testTarget( name: DBCoreTests, dependencies: [DBCore]), ]
Replies
Boosts
Views
Activity
Apr ’22
Reply to Push notification is not working after uploading binary on Test Flight Beta.
More over; in yout test flight package; check that under the Store Information section; you are using apns production:...aps-environment: production...
Replies
Boosts
Views
Activity
Nov ’15
PKG Generate
Hi, I made an application in JXA that I would like to distribute. 1. I downloaded and installed an installation certificate via my developer account, 2. I generated my PKG with the following distribution XML file: ```language code-block If I right click with the mouse and then open, the PKG runs. Is a tag missing in my XML? Do I need to generate another certificate? Thanks for your help
Replies
10
Boosts
0
Views
1.5k
Activity
May ’23
“Missing required module 'XYZ'” on Unit Tests when using Swift Package Manager
I'm using Swift Package Manager on an iOS app on Xcode 11 following the instructions from https://developer.apple.com/videos/play/wwdc2019/408/Everything looks great, except Unit Tests won't work now.Screenshot: Errorhttps://www.dropbox.com/s/uws8hur4ro7bv5j/2265eb764586d19671d2e98f755533026fe76bd7.png?dl=0Screenshot: Navigatorhttps://www.dropbox.com/s/bovk30pqfa5ydw7/e7a8c97ecb1c7b30b22100c77012a65a87c91018.jpeg?dl=0Screenshot: Projecthttps://www.dropbox.com/s/p5smomqhb2n3gtc/313462f93c519e2d592792860fc62c2d1e027580_2_690x412.png?dl=0
Replies
1
Boosts
0
Views
1.5k
Activity
Sep ’19
Missing required module ‘CNIOAtomics’ when I copy CLI target product into macOS app bundle
I work on an Xcode project that has three targets: macOS app CLI shared framework (mostly shared types and constants) macOS app and CLI have NIO as a dependency. When I build and run targets in the default configuration, everything works. However, I plan to bundle the CLI into the main app bundle so users can install/symlink it to make it available in their PATH. When I add the Copy Files build phase and select the CLI product, the macOS app doesn't build with the error missing required module 'CNIOAtomics' that originates in the CLI. How to configure the build considering the requirements?
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’23
Accessory Packaging Guidelines
How can I get my hands on the guidelines for packaging for accessories for apple products.
Replies
0
Boosts
0
Views
133
Activity
Oct ’16
Reply to xcrun altool --upload can't find Info.plist
I'll answer my own post. You can not upload an app bundle (my-app.app) directly to the App Store. You need to upload a signed product package (my-app.pkg) to the store. This involves multiple steps including adding an entitlements file, adding the provisioning file, signing the app bundle and then finally creating and signing the product package.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Xcode 13 "Missing package product" using local Swift Packages
EVERY DAY my Xcode welcomes me with missing packages problems. Yes, Reset Package Caches works but really Apple, fix this horrible issue, still present in Version 14.3 (14E222b)
Replies
Boosts
Views
Activity
Apr ’23
Reply to Installing Dependencies Package is MISSING checkbox
You have to set Add To Target to None when you don't want a Package Product. It work for me.
Replies
Boosts
Views
Activity
Jan ’24
Reply to Xcode creates schemes for some referenced Swift Packages
Are these packages of yours dependencies in Package.swift, or do they live locally alongside your project? If the former, then my answer applies (make sure to .gitignore .swiftpm from whatever repo you're storing your packages in). If the latter, then this is standard behavior from Xcode as it autogenerates schemes for all local package products.
Replies
Boosts
Views
Activity
Nov ’22