Search results for

“missing package product”

55,554 results found

Post

Replies

Boosts

Views

Activity

Creating package failed (using productbuild)
HiI'v produced .app (using UnrealEngine4) and now I want to publish it on Mac AppStore.(UnrealEngine4 has it's own building system, so the app is'nt produced from xcode)Long story short I'v created & installed all certificates that I need, created AppID (say it's com.mycompany.myapp)in Info.plist there is entry:<key>CFBundleIdentifier</key><string>com.mycompany.myapp</string>Now I'm signing the executable:codesign -f -v -s 3rd Party Mac Developer Application: mycompany... --entitlements myapp.entitlements myapp.app/Contents/MacOS/MyAppThe executable get's signed succesfully (I'v also signed all the .dylib that are part of the application and reside there, also succesfully)now I'm signing the whole bundle:codesign -f -v -s 3rd Party Mac Developer Application: mycompany... --entitlements myapp.entitlements myapp.appthis also ends with successnow time to build package:productbuild --sign 3rd Party Mac Developer Application: mycompany... --component myapp.app /Applications --product
1
0
2.3k
Sep ’17
Reply to CoreData: Failed to load optimized model
Somehow i have fixed it myself.It is just a message logs at console. It won't crash or warn you. But whenever you try profiling through instruments, the app gets crash the moment you receive this message. So,Follow these steps to resolve:1. Go to products group in your project file navigator and select your product then choose show in finder2. Select your product-name.app and then choose show package contents3. Now you will see your proudct-name.momd folder. Open it there you will see your product-name.omo4. Delete that and run the project again5. And it works you won't see any log message in the console nowMake sure you are not deleting any .mom files
Topic: App & System Services SubTopic: iCloud Tags:
Nov ’17
Reply to Discontinuing consumable IAP Products
1) Under Apple guidelines, what are our obligations to support Product A (a consumable IAP) in Version Y?I don't believe Apple guidelines speak to this issue. Your users who still have a quantity of Product A will be disappointed. Is there any way you could allow the new version to continue using already purchased Product A but not be able to buy any more?2) What happens if someone updates from Version X to Y and tries to restore? Is that a scenario we have to support (unconsumed Product A’s)? No, you cannot restore a consumable IAP. But when you update the app you don't lose any files so there is no reason why the consumable should disappear if it was retained in a file (e.g. NSUserDefault). If the user deleted the app and then reinstalls (the new or the old version) then they lose all consumable IAPs and would need to repurchase. That's common practice.
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’17
Reply to How to correctly deploy bundled launchdaemons/launchagents?
Lemme take a step back here. ES products typically ship in one of two ways: If they’re consumer focused, they use an ES system extension. If they’re enterprise focused, they use an ES daemon. It sounds like you fall into the latter category. If so, why are you adopting SMAppService? That mechanism is intended for folks shipping consumer focused products. For an ES client that’s targeting enterprise environments it makes sense to stick with an installer package. In short, SMAppService is meant to be a replacement for things like SMJobBless and SMLoginItemSetEnabled, not a replacement for installer packages and launchctl. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Oct ’24
LinkDylibError when previewing SwiftUI view from a package.
I have two (local) Swift packages (both with a single library product): RemoteImage, which defines setImage(from:) function on UIImageView and SatelitUI package which directly depends on the first one and defines some views. But when I'm trying to preview views from the second package I'm getting the following error: linker command failed with exit code 1 (use -v to see invocation) LinkDylibError: Failed to build TrailerView.swift Linking failed: linker command failed with exit code 1 (use -v to see invocation) ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/SharedFrameworks-iphonesimulator' Undefined symbols for architecture x86_64: (extension in RemoteImage):__C.UIImageView.setImage(from: Foundation.URL?) -> (), referenced from: (extension in SatelitUI_PreviewReplacement_TrailerView_2):SatelitUI.TrailerView.(previewupdate in _8C3731B0EF007627509BEEB93277D681)(with: SatelitUI.Trailer?) -> () in TrailerView.2.preview-thunk.o ld: sy
2
0
2.2k
Jun ’20
SKProductRequest return 0 product with production-signed app
Hi,I have an iOS application which uses in-app purchases.I have already set the environment for IAP:Set all the Agreements Tax and Banking sections,Created IAP products on iTunes connectTurned on In app purchases in the capabilities tabImplemented my code to retrieve the product list and to perform a purchase validating the receipt server-sideI have also tested all with a sandbox environment and all works as expected: the list of products is correctly received by the store I can purchase a product validating the corresponding receipt.I have also tested the application using Testflight which creates automatically a sandbox user for all testers and all works as expected.I submitted my application to the Apple store and the revision has been passed so that at the moment the application is in Pending Developer Release status, all the products have been approved.In order to try an actual purchase (using a real credit card) I have generated a promo code with iTunes conne
2
0
1.6k
Nov ’18
Building a Package installer/downloader
Hi Everyone,I'm not sure if i'm in the right section here.. 🙂I'm looking for a method to create a Package installer/downloader.Let me explain it.I would like to create a package installer where people will have choice to tick/untick the software that they want to download or not. (If it's possible in package installer)I have already try this software :- Platypus- Iceberg- Packagesbut i can't find the option to add option to download a file from url.I think of creating a basic package installer which load an automator script to download specific files but didn't succeed.Thanks a lot for your help to everyoneMichael
0
0
333
Mar ’17
Swift Package Manager failed
I'm building a swiftUI project for ios and trying to connect a Firebase/FireStore DB to the project using Swift Package Manager and importing; firebase-ios-sdk. In doing so, I get a Package Resolution Failed message with a box and list of all the firebase-ios-sdk that could not be resolved. I tried deleting the derived data folder content, resetting package caches, resolving the package version, restart Xcode. Nothing worked. Last night I uninstalled Xcode and re-installing Xcode overnight. Did not work, still the same issue today. When I import Firebase to the .swiftui file, I get a code error message - No such module 'FirebaseCore'
0
0
964
May ’22
Reply to I can't submit my app to the app store
Another thing is that if I temporarily move my .app file out of /Applications and run my pkg, it says the installation was sucessful. But no new files are added/installed in /Applications. That suggests that there’s a problem with the way that your installer package is constructed. I signed the pkg with productsign and built it with productbuild. Note You can do this in one step (using productbuild) but doing it in two is not an issue. How are you invoking productbuild? The default command I used for this is in Signing a Mac Product For Distribution - https://developer.apple.com/forums/thread/128166. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Apr ’21
plugin targets missing from swift-format dependency
So I've added swift-format as one of my dependencies to my own swift package so that I can use their lint swift package plugin. Here is my Package.swift: // swift-tools-version: 5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: EssentialFeed, platforms: [ .iOS(.v16), .macOS(.v13), .macCatalyst(.v16), .tvOS(.v16), .watchOS(.v9) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: EssentialFeed, targets: [EssentialFeed]), .library( name: EssentialFeedTestHelpers, targets: [EssentialFeedTestHelpers]), ], dependencies: [ .package(url: https://github.com/apple/swift-format, .upToNextMajor(from: 0.50700.1)), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Tar
1
0
1.4k
Feb ’23
Creating package failed (using productbuild)
HiI'v produced .app (using UnrealEngine4) and now I want to publish it on Mac AppStore.(UnrealEngine4 has it's own building system, so the app is'nt produced from xcode)Long story short I'v created & installed all certificates that I need, created AppID (say it's com.mycompany.myapp)in Info.plist there is entry:<key>CFBundleIdentifier</key><string>com.mycompany.myapp</string>Now I'm signing the executable:codesign -f -v -s 3rd Party Mac Developer Application: mycompany... --entitlements myapp.entitlements myapp.app/Contents/MacOS/MyAppThe executable get's signed succesfully (I'v also signed all the .dylib that are part of the application and reside there, also succesfully)now I'm signing the whole bundle:codesign -f -v -s 3rd Party Mac Developer Application: mycompany... --entitlements myapp.entitlements myapp.appthis also ends with successnow time to build package:productbuild --sign 3rd Party Mac Developer Application: mycompany... --component myapp.app /Applications --product
Replies
1
Boosts
0
Views
2.3k
Activity
Sep ’17
Reply to CoreData: Failed to load optimized model
Somehow i have fixed it myself.It is just a message logs at console. It won't crash or warn you. But whenever you try profiling through instruments, the app gets crash the moment you receive this message. So,Follow these steps to resolve:1. Go to products group in your project file navigator and select your product then choose show in finder2. Select your product-name.app and then choose show package contents3. Now you will see your proudct-name.momd folder. Open it there you will see your product-name.omo4. Delete that and run the project again5. And it works you won't see any log message in the console nowMake sure you are not deleting any .mom files
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Nov ’17
Reply to Discontinuing consumable IAP Products
1) Under Apple guidelines, what are our obligations to support Product A (a consumable IAP) in Version Y?I don't believe Apple guidelines speak to this issue. Your users who still have a quantity of Product A will be disappointed. Is there any way you could allow the new version to continue using already purchased Product A but not be able to buy any more?2) What happens if someone updates from Version X to Y and tries to restore? Is that a scenario we have to support (unconsumed Product A’s)? No, you cannot restore a consumable IAP. But when you update the app you don't lose any files so there is no reason why the consumable should disappear if it was retained in a file (e.g. NSUserDefault). If the user deleted the app and then reinstalls (the new or the old version) then they lose all consumable IAPs and would need to repurchase. That's common practice.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to BUG! Deploy button is hidden in cloudkit dashboard when deploying changes to production
It's incredibly easy to miss, I searched for almost an hour a few months back.Go to https://icloud.developer.apple.com/ and log in. Then, select your container on the left side. Afterwards, click on the small cogwheel in the development area (not production!). In this menu you'll find the option to Deploy Schema to Production….
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’19
Reply to How to correctly deploy bundled launchdaemons/launchagents?
Lemme take a step back here. ES products typically ship in one of two ways: If they’re consumer focused, they use an ES system extension. If they’re enterprise focused, they use an ES daemon. It sounds like you fall into the latter category. If so, why are you adopting SMAppService? That mechanism is intended for folks shipping consumer focused products. For an ES client that’s targeting enterprise environments it makes sense to stick with an installer package. In short, SMAppService is meant to be a replacement for things like SMJobBless and SMLoginItemSetEnabled, not a replacement for installer packages and launchctl. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Oct ’24
LinkDylibError when previewing SwiftUI view from a package.
I have two (local) Swift packages (both with a single library product): RemoteImage, which defines setImage(from:) function on UIImageView and SatelitUI package which directly depends on the first one and defines some views. But when I'm trying to preview views from the second package I'm getting the following error: linker command failed with exit code 1 (use -v to see invocation) LinkDylibError: Failed to build TrailerView.swift Linking failed: linker command failed with exit code 1 (use -v to see invocation) ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/SharedFrameworks-iphonesimulator' Undefined symbols for architecture x86_64: (extension in RemoteImage):__C.UIImageView.setImage(from: Foundation.URL?) -> (), referenced from: (extension in SatelitUI_PreviewReplacement_TrailerView_2):SatelitUI.TrailerView.(previewupdate in _8C3731B0EF007627509BEEB93277D681)(with: SatelitUI.Trailer?) -> () in TrailerView.2.preview-thunk.o ld: sy
Replies
2
Boosts
0
Views
2.2k
Activity
Jun ’20
SKProductRequest return 0 product with production-signed app
Hi,I have an iOS application which uses in-app purchases.I have already set the environment for IAP:Set all the Agreements Tax and Banking sections,Created IAP products on iTunes connectTurned on In app purchases in the capabilities tabImplemented my code to retrieve the product list and to perform a purchase validating the receipt server-sideI have also tested all with a sandbox environment and all works as expected: the list of products is correctly received by the store I can purchase a product validating the corresponding receipt.I have also tested the application using Testflight which creates automatically a sandbox user for all testers and all works as expected.I submitted my application to the Apple store and the revision has been passed so that at the moment the application is in Pending Developer Release status, all the products have been approved.In order to try an actual purchase (using a real credit card) I have generated a promo code with iTunes conne
Replies
2
Boosts
0
Views
1.6k
Activity
Nov ’18
Convert package into static library. How?
Hello all! Is there any way to convert package into static library (*.a)?
Replies
0
Boosts
0
Views
863
Activity
May ’23
"Add Packages" not working
I' just installed Xcode 13 and try to run a playground that uses a package (https://github.com/AudioKit/AudioKit). To add it I'm supposd to select File -> Add Packages..., but when I do this absolutely nothing happens. No window appears, no error message, just nothing. What could be the reason for this?
Replies
0
Boosts
0
Views
452
Activity
May ’22
Building a Package installer/downloader
Hi Everyone,I'm not sure if i'm in the right section here.. 🙂I'm looking for a method to create a Package installer/downloader.Let me explain it.I would like to create a package installer where people will have choice to tick/untick the software that they want to download or not. (If it's possible in package installer)I have already try this software :- Platypus- Iceberg- Packagesbut i can't find the option to add option to download a file from url.I think of creating a basic package installer which load an automator script to download specific files but didn't succeed.Thanks a lot for your help to everyoneMichael
Replies
0
Boosts
0
Views
333
Activity
Mar ’17
Reply to SF Symbols 7: Hundreds of SF Symbols missing 'Availability' info
I'm pretty sure that if availability information is missing, that means that the glyph is only available in xOS 26. There is a 3rd party package that imports all of these symbols into a static namespaces so the compiler can check this for you. See https://github.com/SFSafeSymbols/SFSafeSymbols
Replies
Boosts
Views
Activity
Oct ’25
Swift Package Manager failed
I'm building a swiftUI project for ios and trying to connect a Firebase/FireStore DB to the project using Swift Package Manager and importing; firebase-ios-sdk. In doing so, I get a Package Resolution Failed message with a box and list of all the firebase-ios-sdk that could not be resolved. I tried deleting the derived data folder content, resetting package caches, resolving the package version, restart Xcode. Nothing worked. Last night I uninstalled Xcode and re-installing Xcode overnight. Did not work, still the same issue today. When I import Firebase to the .swiftui file, I get a code error message - No such module 'FirebaseCore'
Replies
0
Boosts
0
Views
964
Activity
May ’22
Reply to I can't submit my app to the app store
Another thing is that if I temporarily move my .app file out of /Applications and run my pkg, it says the installation was sucessful. But no new files are added/installed in /Applications. That suggests that there’s a problem with the way that your installer package is constructed. I signed the pkg with productsign and built it with productbuild. Note You can do this in one step (using productbuild) but doing it in two is not an issue. How are you invoking productbuild? The default command I used for this is in Signing a Mac Product For Distribution - https://developer.apple.com/forums/thread/128166. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Apr ’21
package manager not working
In any project,when I try to add a package with package manager,when I use search like blow I'll get a error like this How can I fix this?I try update my Xcode version,and it doesn't work.Now my Xcode version is 14.3.1, macos 13.4 Thanks for helping.
Replies
1
Boosts
0
Views
530
Activity
Jun ’23
plugin targets missing from swift-format dependency
So I've added swift-format as one of my dependencies to my own swift package so that I can use their lint swift package plugin. Here is my Package.swift: // swift-tools-version: 5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: EssentialFeed, platforms: [ .iOS(.v16), .macOS(.v13), .macCatalyst(.v16), .tvOS(.v16), .watchOS(.v9) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: EssentialFeed, targets: [EssentialFeed]), .library( name: EssentialFeedTestHelpers, targets: [EssentialFeedTestHelpers]), ], dependencies: [ .package(url: https://github.com/apple/swift-format, .upToNextMajor(from: 0.50700.1)), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Tar
Replies
1
Boosts
0
Views
1.4k
Activity
Feb ’23