Search results for

“missing package product”

55,564 results found

Post

Replies

Boosts

Views

Activity

Does Xcode / Swift Package Manager support custom Git authentication flows for private package distribution?
Hi, We are evaluating Swift Package Manager for distributing private packages to external customers. Our use case requires enterprise-grade authentication beyond standard username/password, personal access token, or SSH key based authentication. Our current authentication model relies on request signing / IAM-based authorization rather than standard Git credentials. From what we can tell, Swift Package Manager does not appear to expose a built-in mechanism for custom authentication hooks during package resolution. Because of that, we started exploring whether a Git-based workaround might be possible, such as: using a custom Git URL scheme handling that scheme through a Git remote helper using a Git credential helper or related Git configuration for authentication We tried a proof of concept along these lines, but Xcode did not seem to recognize or resolve the package correctly. We are trying to understand what is officially supported and what is not. Our questions
0
0
461
Apr ’26
Reply to xcode 10.1 crash on startup in Mojave
Problem solved:The problem was that i extracted the xip on an external ssd drive and then dragged the Xcode package to the program folder.Extracting the xip in the program folder did the trick that Xcode asked then for installing additional components (probably the ones that were missing) and started up normally after.
Jun ’19
Distributing Binary via Cocoapods & Swift Packages
I maintain a library that has thus far used Cocoapods to manage dependencies and also distribute an xcframework of the library. I'd now like to also distribute the same library through Swift Packages but am running into issues. I'm using the same xcframework in a local Swift Package and have added all the necessary dependencies to Package.swift, but when I attempt to add this Swift Package to a test app, the app will build correctly but fail at runtime due to a missing .framework file for a dependency I'll just call THE_DEPENDENCY: dyld[61483]: Library not loaded: @rpath/THE_DEPENDENCY.framework/THE_DEPENDENCY Referenced from: <75074516-C1CD-3251-8807-94A7502176A7> /Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsimulator/MY_LIBRARY.framework/MY_LIBRARY Reason: tried: '/Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsi
0
0
581
Jun ’24
Price Locale not available in Product
In the latest Product object we are unable to get the price locale of the current product. Even though the display price string available with currency symbol, we need to display discount price of current product by comparing with other products. Earlier in SKProduct we had price locale property to achieve this.But in latest Product object we are missing this. Is there a way to get the price locale of the current storefront?. There is a countryCode property in Storefront enum. But there is no option to create locale using country code.
3
0
4.6k
Aug ’21
Invalid product id
We have one application called Hydra with products already created. But one of them is always returning us an invalid product id when we request the information about products. The current status for this product is Ready to submit and the price is 0. The other products are always ok. Can someone help me?
2
0
562
Jun ’21
Creating .pkg files for in-app purchases
Hello,How do you create/convert files to .pkg (package) file format for in-app purchases in the Application Loader??? Apple used to support an application available as an additional tool in Xcode called Package Maker. From what I see, they no longer include the app. So how do you create the .pkg files that Application Loader/Apple requires? HELP!!! <please>
0
0
711
Mar ’17
Is SKTestSession available for Swift Package tests?
I'm trying to test my StoreKit package using local Consumable.storekit configuration added to test target as a .copy() resource. I receive various errors. On purchase attempts I receive StoreKitError.unknown. In the console I see this diagnostic messages: [SKTestSession] Error saving configuration file: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error setting value to 1 for identifier 2 for com.apple.dt.xctest.tool: Error Domain=SKInternalErrorDomain Code=3 (null) I these last two cases product loading failed. It feels like session require mutable .storekit file? Also, some people mention that Host Application must be selected, but it's related to Xcode projects. What is the correct way to test StoreKit within a Swift Package?
1
0
502
Jun ’26
Swift Package not able to add into the project
Hi There, I have a strange problem: the Swift package cannot be added to my iOS project. The problem might be due to the project settings, but despite trying for a long time, I still haven't been able to figure it out. My project is a React Native project and uses CocoaPods. When I drop the Swift package into my React Native project, the package becomes a folder. When I drop the Swift package into other iOS projects, it works without any problems. If I try to use Package Dependencies to add the Swift package, it gets stuck on Preparing to validate... My project seems unable to add any Swift packages; it cannot add other Swift packages either. The Swift package is local. However, it works fine in other projects, even in newly created React Native projects. The problem might be with my project itself, but I have no idea where to check now. please guide me with any advice, I will appreciate it!
0
0
693
May ’24
Dyld Symbol not found on Local Swift Package
I work on iOS App project in workspace. I splitted feature in a Local Swift Package. Workspace contains both iOS App Project and Swift Package. https://i.stack.imgur.com/LhL5j.jpg Swift package platform is iOS 14 and deployment target of project is iOS 13. I put optional link on my Swift Package to avoid crash on iOS 13 https://i.stack.imgur.com/Y1HYb.png Application run well on iOS 14 but still crash on iOS 13 : dyld: Symbol not found: _$s7SwiftUI4ViewP14_viewListCount6inputsSiSgAA01_ceF6InputsV_tFZTq Just for example, I would like to use Swift Package like this : Swift #if canImport(Classifier) @available(iOS 14.0, *) struct ActionClassifier: View { var body: some View { Text(Hello, World!) } } #endif Did I miss something on the way of link my Swift Package Binary to my project ?
1
0
1.4k
Apr ’21
Both app and pkg are notarized; app opens fine but pkg encounters javascript error
I have an app built using python with pyinstaller. I was able to successfully get the app notarized and open it on my computer as well as a different one (OS 11.6.1). I can also get the pkg successfully notarized, but when I attempt to launch it on my own computer (or a different one), an error box immediately appears stating There was an error reading the package along with JavaScriptError. I looked at the log file corresponding to the notarization, and I saw no error messages or warnings. Neither java nor javascript appear anywhere. This was not a problem for me a couple weeks ago when using a slightly different version of my program. Is there a different log file of some type, associated with javascript, that might shed light on the problem? Update: I did just try to check whether package passed the gatekeeper test by typing spctl -a '/Users/..../application.pkg' at the terminal, which returned rejected
9
0
2.2k
May ’22
Improving performance of Swift package
I have started to make a Swift package to better organize my project, but I have noticed that when I try to use code from my package, some code will run much slower than when I use the same code in the project. How could this be solved? I have tried using @inlinable for functions, and it works for most functions, but some functions still fail to meet the performance standards that I see when I use the code in my project.
0
0
378
Sep ’24
Having a hard time notarizing a pkg.
Hi, I'm trying to notarize a .pkg but it doesn't work. I went true the same process with my .vst and I did not have any issues. And works fine on Catalina. codesign -s Developer ID Application: Brian D'Oliveira (---------) -v “ABSOLUTEFILEPATH”; xcrun altool --notarize-app -f ABSOLUTEFILEPATH --primary-bundle-id com.myCompany.product --username briandoliveira@me.com --password xxx-xxxx-xxxxx-xxx it returns: altool[1050:35166] No errors uploading “ABSOLUTEFILEPATH” It usually works fine for .VST and .AU but with .pkg i always get a message from apple support that my .pkg was not notarized. I tried to zip it but it also did not work. I've noticed that when I run $ codesign -s Developer ID Application: Brian D'Oliveira (---------) -v “ABSOLUTEFILEPATH”; it returns: codesign -s Developer ID Application: Brian D'Oliveira (4864XQ9JL3) -v “ABSOLUTEFILEPATH.pkg” “ABSOLUTEFILEPATH.pkg”: is already signed BUT when I run : pkgutil --check-signature “ABSOLUTEFILEPATH.pkg it returns : Package
1
0
309
Aug ’20
My does my production push certificate have development credentials in it?
HiI'm trying to upload my production p12 push cert to my push provider, and it keeps telling me that it's a development cert. I've created and recreated the cert again, making sure it's a production cert, but I still get the error:P12's gateway is Development while it was uploaded as ProductionFor further information please refer to our iOS guideI notice that the p12 contains both development and production credentials. Is this normal? Is there something I'm missing re creating a production certificate?Thanks for your time and help.
1
0
406
Dec ’17
Does Xcode / Swift Package Manager support custom Git authentication flows for private package distribution?
Hi, We are evaluating Swift Package Manager for distributing private packages to external customers. Our use case requires enterprise-grade authentication beyond standard username/password, personal access token, or SSH key based authentication. Our current authentication model relies on request signing / IAM-based authorization rather than standard Git credentials. From what we can tell, Swift Package Manager does not appear to expose a built-in mechanism for custom authentication hooks during package resolution. Because of that, we started exploring whether a Git-based workaround might be possible, such as: using a custom Git URL scheme handling that scheme through a Git remote helper using a Git credential helper or related Git configuration for authentication We tried a proof of concept along these lines, but Xcode did not seem to recognize or resolve the package correctly. We are trying to understand what is officially supported and what is not. Our questions
Replies
0
Boosts
0
Views
461
Activity
Apr ’26
Reply to Apple Push notifications are not working sometimes
I'm with a similar issue and would like to ask if APN has some anti-spam method...Because my initial tests was all being delivered.After I spam a few notification now Im not reciving all of them.Is it some anti-spam or just package lost?thank you.
Replies
Boosts
Views
Activity
Aug ’16
Reply to xcode 10.1 crash on startup in Mojave
Problem solved:The problem was that i extracted the xip on an external ssd drive and then dragged the Xcode package to the program folder.Extracting the xip in the program folder did the trick that Xcode asked then for installing additional components (probably the ones that were missing) and started up normally after.
Replies
Boosts
Views
Activity
Jun ’19
Distributing Binary via Cocoapods & Swift Packages
I maintain a library that has thus far used Cocoapods to manage dependencies and also distribute an xcframework of the library. I'd now like to also distribute the same library through Swift Packages but am running into issues. I'm using the same xcframework in a local Swift Package and have added all the necessary dependencies to Package.swift, but when I attempt to add this Swift Package to a test app, the app will build correctly but fail at runtime due to a missing .framework file for a dependency I'll just call THE_DEPENDENCY: dyld[61483]: Library not loaded: @rpath/THE_DEPENDENCY.framework/THE_DEPENDENCY Referenced from: <75074516-C1CD-3251-8807-94A7502176A7> /Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsimulator/MY_LIBRARY.framework/MY_LIBRARY Reason: tried: '/Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsi
Replies
0
Boosts
0
Views
581
Activity
Jun ’24
Price Locale not available in Product
In the latest Product object we are unable to get the price locale of the current product. Even though the display price string available with currency symbol, we need to display discount price of current product by comparing with other products. Earlier in SKProduct we had price locale property to achieve this.But in latest Product object we are missing this. Is there a way to get the price locale of the current storefront?. There is a countryCode property in Storefront enum. But there is no option to create locale using country code.
Replies
3
Boosts
0
Views
4.6k
Activity
Aug ’21
Invalid product id
We have one application called Hydra with products already created. But one of them is always returning us an invalid product id when we request the information about products. The current status for this product is Ready to submit and the price is 0. The other products are always ok. Can someone help me?
Replies
2
Boosts
0
Views
562
Activity
Jun ’21
Creating .pkg files for in-app purchases
Hello,How do you create/convert files to .pkg (package) file format for in-app purchases in the Application Loader??? Apple used to support an application available as an additional tool in Xcode called Package Maker. From what I see, they no longer include the app. So how do you create the .pkg files that Application Loader/Apple requires? HELP!!! <please>
Replies
0
Boosts
0
Views
711
Activity
Mar ’17
Is SKTestSession available for Swift Package tests?
I'm trying to test my StoreKit package using local Consumable.storekit configuration added to test target as a .copy() resource. I receive various errors. On purchase attempts I receive StoreKitError.unknown. In the console I see this diagnostic messages: [SKTestSession] Error saving configuration file: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error setting value to 1 for identifier 2 for com.apple.dt.xctest.tool: Error Domain=SKInternalErrorDomain Code=3 (null) I these last two cases product loading failed. It feels like session require mutable .storekit file? Also, some people mention that Host Application must be selected, but it's related to Xcode projects. What is the correct way to test StoreKit within a Swift Package?
Replies
1
Boosts
0
Views
502
Activity
Jun ’26
Swift Package not able to add into the project
Hi There, I have a strange problem: the Swift package cannot be added to my iOS project. The problem might be due to the project settings, but despite trying for a long time, I still haven't been able to figure it out. My project is a React Native project and uses CocoaPods. When I drop the Swift package into my React Native project, the package becomes a folder. When I drop the Swift package into other iOS projects, it works without any problems. If I try to use Package Dependencies to add the Swift package, it gets stuck on Preparing to validate... My project seems unable to add any Swift packages; it cannot add other Swift packages either. The Swift package is local. However, it works fine in other projects, even in newly created React Native projects. The problem might be with my project itself, but I have no idea where to check now. please guide me with any advice, I will appreciate it!
Replies
0
Boosts
0
Views
693
Activity
May ’24
My Lost iPad
I just checked to see if my lost iPad was found but found out that it didn't even enter lost mode because it has no internet conection. What do i do?
Replies
0
Boosts
0
Views
342
Activity
Apr ’21
Dyld Symbol not found on Local Swift Package
I work on iOS App project in workspace. I splitted feature in a Local Swift Package. Workspace contains both iOS App Project and Swift Package. https://i.stack.imgur.com/LhL5j.jpg Swift package platform is iOS 14 and deployment target of project is iOS 13. I put optional link on my Swift Package to avoid crash on iOS 13 https://i.stack.imgur.com/Y1HYb.png Application run well on iOS 14 but still crash on iOS 13 : dyld: Symbol not found: _$s7SwiftUI4ViewP14_viewListCount6inputsSiSgAA01_ceF6InputsV_tFZTq Just for example, I would like to use Swift Package like this : Swift #if canImport(Classifier) @available(iOS 14.0, *) struct ActionClassifier: View { var body: some View { Text(Hello, World!) } } #endif Did I miss something on the way of link my Swift Package Binary to my project ?
Replies
1
Boosts
0
Views
1.4k
Activity
Apr ’21
Both app and pkg are notarized; app opens fine but pkg encounters javascript error
I have an app built using python with pyinstaller. I was able to successfully get the app notarized and open it on my computer as well as a different one (OS 11.6.1). I can also get the pkg successfully notarized, but when I attempt to launch it on my own computer (or a different one), an error box immediately appears stating There was an error reading the package along with JavaScriptError. I looked at the log file corresponding to the notarization, and I saw no error messages or warnings. Neither java nor javascript appear anywhere. This was not a problem for me a couple weeks ago when using a slightly different version of my program. Is there a different log file of some type, associated with javascript, that might shed light on the problem? Update: I did just try to check whether package passed the gatekeeper test by typing spctl -a '/Users/..../application.pkg' at the terminal, which returned rejected
Replies
9
Boosts
0
Views
2.2k
Activity
May ’22
Improving performance of Swift package
I have started to make a Swift package to better organize my project, but I have noticed that when I try to use code from my package, some code will run much slower than when I use the same code in the project. How could this be solved? I have tried using @inlinable for functions, and it works for most functions, but some functions still fail to meet the performance standards that I see when I use the code in my project.
Replies
0
Boosts
0
Views
378
Activity
Sep ’24
Having a hard time notarizing a pkg.
Hi, I'm trying to notarize a .pkg but it doesn't work. I went true the same process with my .vst and I did not have any issues. And works fine on Catalina. codesign -s Developer ID Application: Brian D'Oliveira (---------) -v “ABSOLUTEFILEPATH”; xcrun altool --notarize-app -f ABSOLUTEFILEPATH --primary-bundle-id com.myCompany.product --username briandoliveira@me.com --password xxx-xxxx-xxxxx-xxx it returns: altool[1050:35166] No errors uploading “ABSOLUTEFILEPATH” It usually works fine for .VST and .AU but with .pkg i always get a message from apple support that my .pkg was not notarized. I tried to zip it but it also did not work. I've noticed that when I run $ codesign -s Developer ID Application: Brian D'Oliveira (---------) -v “ABSOLUTEFILEPATH”; it returns: codesign -s Developer ID Application: Brian D'Oliveira (4864XQ9JL3) -v “ABSOLUTEFILEPATH.pkg” “ABSOLUTEFILEPATH.pkg”: is already signed BUT when I run : pkgutil --check-signature “ABSOLUTEFILEPATH.pkg it returns : Package
Replies
1
Boosts
0
Views
309
Activity
Aug ’20
My does my production push certificate have development credentials in it?
HiI'm trying to upload my production p12 push cert to my push provider, and it keeps telling me that it's a development cert. I've created and recreated the cert again, making sure it's a production cert, but I still get the error:P12's gateway is Development while it was uploaded as ProductionFor further information please refer to our iOS guideI notice that the p12 contains both development and production credentials. Is this normal? Is there something I'm missing re creating a production certificate?Thanks for your time and help.
Replies
1
Boosts
0
Views
406
Activity
Dec ’17