Post

Replies

Boosts

Views

Activity

Reply to Getting error when integrating binary framework in SPM, Does not contain expected binary artifact
I'm assuming that the correctness of the url is not the issue and only to hide where the *.zip actually located. Package example from the Apple docs here seem to align with your approach but that url scheme above is a bit concerning. Is your framework an XCFramework binary? // swift-tools-version:5.3 import PackageDescription let package = Package( name: "MyLibrary", platforms: [ .macOS(.v10_14), .iOS(.v13), .tvOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "MyLibrary", targets: ["MyLibrary", "SomeRemoteBinaryPackage", "SomeLocalBinaryPackage"]) ], dependencies: [ // Dependencies declare other packages that this package depends on. ], 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, and on products in packages this package depends on. .target( name: "MyLibrary" ), .binaryTarget( name: "SomeRemoteBinaryPackage", url: "https://url/to/some/remote/xcframework.zip", checksum: "The checksum of the ZIP archive that contains the XCFramework." ), .binaryTarget( name: "SomeLocalBinaryPackage", path: "path/to/some.xcframework" ) .testTarget( name: "MyLibraryTests", dependencies: ["MyLibrary"]), ] )
Topic: Graphics & Games SubTopic: General Tags:
Mar ’22
Reply to İpad 7 syscfg help
Welcome to the Apple Developer Forums: Post your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics. For questions about using Apple hardware and services, visit Apple Support Communities
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’22
Reply to SwiftUI retain cycle with .searchable
If you do this then there is no need to create a new object model on each push. It is created once and destroyed once on app exit: @main struct MyApp: App {     @StateObject var model = Retainer()     var body: some Scene {         WindowGroup {             ContentView()                 .environmentObject(model)         }     } } struct RetainCycleView: View {     @EnvironmentObject var model: Retainer     var body: some View {         VStack(alignment: .leading, spacing: 4) {             Text("Navigate back to the previous view.")             Text("You will see that 'Retainer' was NOT deallocated.")             Text("(it's deinit function prints deallocing Retainer)")                 .font(.callout)         }         .padding()         .searchable(text: $model.enteredText)         .onChange(of: model.enteredText) { newValue in             print("Searching for: ", newValue)         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Reply to iphone 11 pro max nfc problem
Maybe @Apple needs to post a disclaimer to non-developers that this is not the place to ask consumer related questions hence the reason also for so much spam where any non-developer can just sign up and post unrelated questions. Please go the to Apple community forums here for all non-developer related questions.
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’22
Reply to Is Apple going to stop people from abusing MusicKit developer token taken from music.apple.com
@eskimo see above.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Type 'Segue' has no member 'restaurantList'
just make sure the enum Segue contains a case statement 'restaurantList'
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Getting error when integrating binary framework in SPM, Does not contain expected binary artifact
I'm assuming that the correctness of the url is not the issue and only to hide where the *.zip actually located. Package example from the Apple docs here seem to align with your approach but that url scheme above is a bit concerning. Is your framework an XCFramework binary? // swift-tools-version:5.3 import PackageDescription let package = Package( name: "MyLibrary", platforms: [ .macOS(.v10_14), .iOS(.v13), .tvOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "MyLibrary", targets: ["MyLibrary", "SomeRemoteBinaryPackage", "SomeLocalBinaryPackage"]) ], dependencies: [ // Dependencies declare other packages that this package depends on. ], 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, and on products in packages this package depends on. .target( name: "MyLibrary" ), .binaryTarget( name: "SomeRemoteBinaryPackage", url: "https://url/to/some/remote/xcframework.zip", checksum: "The checksum of the ZIP archive that contains the XCFramework." ), .binaryTarget( name: "SomeLocalBinaryPackage", path: "path/to/some.xcframework" ) .testTarget( name: "MyLibraryTests", dependencies: ["MyLibrary"]), ] )
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to AR Smart Signage - Apple iPhone 12 Pro
@robnotyou The project is a very real project, I will say this is not spam if you look at the GitHub project and the mechanics behind the codebase. I forked a copy!
Replies
Boosts
Views
Activity
Mar ’22
Reply to Server notifications v2
You can probably begin here: https://developer.apple.com/documentation/appstoreservernotifications/app_store_server_notifications_v2
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to forcibly decompress a compressed file (Zip)
Welcome to the Apple Developer Forums: Post your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics. For questions about using Apple hardware and services, visit Apple Support Communities
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to imovie shared video lost the titles
Welcome to the Apple Developer Forums: Post your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics. For questions about using Apple hardware and services, visit Apple Support Communities
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to İpad 7 syscfg help
Welcome to the Apple Developer Forums: Post your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics. For questions about using Apple hardware and services, visit Apple Support Communities
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to SwiftUI retain cycle with .searchable
If you do this then there is no need to create a new object model on each push. It is created once and destroyed once on app exit: @main struct MyApp: App {     @StateObject var model = Retainer()     var body: some Scene {         WindowGroup {             ContentView()                 .environmentObject(model)         }     } } struct RetainCycleView: View {     @EnvironmentObject var model: Retainer     var body: some View {         VStack(alignment: .leading, spacing: 4) {             Text("Navigate back to the previous view.")             Text("You will see that 'Retainer' was NOT deallocated.")             Text("(it's deinit function prints deallocing Retainer)")                 .font(.callout)         }         .padding()         .searchable(text: $model.enteredText)         .onChange(of: model.enteredText) { newValue in             print("Searching for: ", newValue)         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to imovie shared video lost the titles
See the big blue banner, you can't miss it and follow the instructions.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Bluetooth/airplay issues in macOS Monterey v 12.2
See the big blue banner, you can't miss it and follow the instructions.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Alamofire/ or http Implemetation for login swiftui
https://developer.apple.com/tutorials/sample-apps/memecreator
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Cannot do a diagnostic hardware test and Internet Recovery on Mac Mini late 2014 With Big Sur 11.6.4
Go here -> https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Xcode-server generated installable product not installing on iOS 14+ Devices
Just upgrade to Xcode 13.3 and continue to target iOS 13. At some point the submission door to the App Store using Xcode 12 will close.
Replies
Boosts
Views
Activity
Mar ’22
Reply to iphone 11 pro max nfc problem
Maybe @Apple needs to post a disclaimer to non-developers that this is not the place to ask consumer related questions hence the reason also for so much spam where any non-developer can just sign up and post unrelated questions. Please go the to Apple community forums here for all non-developer related questions.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Mar ’22