Search results for

“missing package product”

52,920 results found

Post

Replies

Boosts

Views

Activity

Reply to Signed and Notarized Unix app cannot be executed
The Xcode 9.x is required for compiling becuase it still offers the option to bundle the 32-bit version of the app, that is required by some of the customers.You have customers that still support 10.6? Wow.Our customers will embed this application in their product, and when there is a need to run a diagnostic on the device, will simply run automically this app.OK, that complicates matters. What you’re hitting here is a Gatekeeper check. One fundamental feature of Gatekeeper is that it applies to the thing that the user downloads. If your product is embedded within another product, the Gatekeeper check will be applied to that product, and thus it’s the structure of that product that matters.For example, let’s say your customers create an installer package that embeds your product. They’ll want to notarise and staple that package before shipping it to their customers. When one of their users installs that package, the Gatekeeper ch
Topic: Code Signing SubTopic: General Tags:
Sep ’19
Altool: Error: Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017)
Hi, I'm trying to build and upload an iOS app from the command line but when using altool to upload the IPA file, i get the following error: Error: Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017) I'm building the app with the following steps: xcodebuild archive -scheme MyApp -workspace ./ios/MyApp.xcworkspace -configuration Release -archivePath ~/Downloads/test.xcarchive xcodebuild -exportArchive -archivePath ~/Downloads/test.xcarchive -exportOptionsPlist ./ios/MyApp/exportOptions.plist -exportPath ~/Downloads/test.ipa altool --upload-app -f ~/Downloads/test.ipa --type ios -u REDACTED -p REDACTED My Info.plist actually has a CFBundlePackageType key with the APPL value. I noticed there is no Info.plist file in the output folder (~/Downloads/test.ipa/), but i'm not even sure it should have one. My exportOption.plist file loks like this: method app-sto
1
0
4.6k
May ’22
Reply to How to use a local .xcFramework as a Resource of a Swift Package
Ok, so doing so, I'm able to distribute the binaryTarget, I can now find it in the source file but im not able to use anything from the framework Its saying Cannot find type Something in scope // This file is in the Sources/SamplePackage/Sample.swift import SampleFramework // ^^ Was giving Error Module not found: Resolved struct Model { var something: Something // Something is a model in the SampleFramework.xcFramework tt// ERROR: Cannot find type Something in scope } import PackageDescription let package = Package( name: SamplePackage, platforms: [ .iOS(.v13), .macOS(.v10_14) ], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( name: SamplePackage, targets: [SamplePackage, SampleXCFramework]), ], targets: [ // 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
Jun ’20
Reply to SwiftUI Preview Runtime linking failure
No it's private package. In our package, We have several 3rd party maps and these maps are compiled with the predefined settings in Xcode and the google map is one of them. Due to security reasons, we cannot share the internal structure. However, when Google Maps is required, it is added as a target in the project, as shown below. static var google = PackageDescription.Package.Dependency.package( url: https://github.com/googlemaps/ios-maps-sdk.git, from: 8.4.0 ) ... ... ... static var google: [PackageDescription.Target] = [ .target( name: .google, dependencies: [ .byName(name: .core), .product(name: GoogleMaps, package: ios-maps-sdk), .product(name: GoogleMapsBase, package: ios-maps-sdk), .product(name: GoogleMapsCore, package: ios-maps-sdk) ], resources: [ .copy(Theme/dark.json) ] ) ]
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25
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
485
Jan ’25
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
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
“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
Reply to Signed and Notarized Unix app cannot be executed
The Xcode 9.x is required for compiling becuase it still offers the option to bundle the 32-bit version of the app, that is required by some of the customers.You have customers that still support 10.6? Wow.Our customers will embed this application in their product, and when there is a need to run a diagnostic on the device, will simply run automically this app.OK, that complicates matters. What you’re hitting here is a Gatekeeper check. One fundamental feature of Gatekeeper is that it applies to the thing that the user downloads. If your product is embedded within another product, the Gatekeeper check will be applied to that product, and thus it’s the structure of that product that matters.For example, let’s say your customers create an installer package that embeds your product. They’ll want to notarise and staple that package before shipping it to their customers. When one of their users installs that package, the Gatekeeper ch
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’19
Reply to Custom Fonts in Swift Package
@muskaan21 I'm sorry, but I think you missed that I'm working in a Swift Package, and not an application. Your instructions would probably work for an application, but not for a package.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’20
Altool: Error: Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017)
Hi, I'm trying to build and upload an iOS app from the command line but when using altool to upload the IPA file, i get the following error: Error: Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017) I'm building the app with the following steps: xcodebuild archive -scheme MyApp -workspace ./ios/MyApp.xcworkspace -configuration Release -archivePath ~/Downloads/test.xcarchive xcodebuild -exportArchive -archivePath ~/Downloads/test.xcarchive -exportOptionsPlist ./ios/MyApp/exportOptions.plist -exportPath ~/Downloads/test.ipa altool --upload-app -f ~/Downloads/test.ipa --type ios -u REDACTED -p REDACTED My Info.plist actually has a CFBundlePackageType key with the APPL value. I noticed there is no Info.plist file in the output folder (~/Downloads/test.ipa/), but i'm not even sure it should have one. My exportOption.plist file loks like this: method app-sto
Replies
1
Boosts
0
Views
4.6k
Activity
May ’22
Reply to How to use a local .xcFramework as a Resource of a Swift Package
Ok, so doing so, I'm able to distribute the binaryTarget, I can now find it in the source file but im not able to use anything from the framework Its saying Cannot find type Something in scope // This file is in the Sources/SamplePackage/Sample.swift import SampleFramework // ^^ Was giving Error Module not found: Resolved struct Model { var something: Something // Something is a model in the SampleFramework.xcFramework tt// ERROR: Cannot find type Something in scope } import PackageDescription let package = Package( name: SamplePackage, platforms: [ .iOS(.v13), .macOS(.v10_14) ], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( name: SamplePackage, targets: [SamplePackage, SampleXCFramework]), ], targets: [ // 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
Replies
Boosts
Views
Activity
Jun ’20
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 iOS presents old app name in push notification
Did you check what the Product Name is in Targets > Building Settings > Packaging?
Replies
Boosts
Views
Activity
Dec ’18
Reply to SwiftUI Preview Runtime linking failure
No it's private package. In our package, We have several 3rd party maps and these maps are compiled with the predefined settings in Xcode and the google map is one of them. Due to security reasons, we cannot share the internal structure. However, when Google Maps is required, it is added as a target in the project, as shown below. static var google = PackageDescription.Package.Dependency.package( url: https://github.com/googlemaps/ios-maps-sdk.git, from: 8.4.0 ) ... ... ... static var google: [PackageDescription.Target] = [ .target( name: .google, dependencies: [ .byName(name: .core), .product(name: GoogleMaps, package: ios-maps-sdk), .product(name: GoogleMapsBase, package: ios-maps-sdk), .product(name: GoogleMapsCore, package: ios-maps-sdk) ], resources: [ .copy(Theme/dark.json) ] ) ]
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
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
485
Activity
Jan ’25
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
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
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
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
“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