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 How can I use custom image instead of the ImagePicker in SwiftUI?
You can probably use a TabView to created a pageable carousel: TabView { ForEach(datasource, id:\.self) { data in NavigationLink(tag: company.id, selection: $currentSelection) { // The view to navigate on image selection SomeCustomViewToDisplayMoreData(data: data) } label: { Image(data.image) // you can probably give the image view a material back ground with rounded corners } } } .tabViewStyle(.page(indexDisplayMode: .always))
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Reply to OpenVPNProvider
To use NETunnelProvider the following entitlements must exists com.apple.developer.networking.networkextension configured with one of the following options <key>com.apple.developer.networking.networkextension</key> <array> <string>app-proxy-provider</string> <string>content-filter-provider</string> <string>dns-proxy</string> <string>dns-settings</string> <string>packet-tunnel-provider</string> </array> https://developer.apple.com/documentation/networkextension/netunnelprovider
Topic: Programming Languages SubTopic: General Tags:
Mar ’22
Reply to How to use ForEach to increase number of rows in SwiftUI's Picker?
have a go at more documentation: ForEach(1..<31) conforms to the signature pattern for the Range type. A Range type is defined as an up to sequence and not an inclusive one. So when you provide ForEach(1...31), ClosedRange, there is no implementation to handle this signature. basically due to the fact arrays are zero based indices in C based type languages. https://developer.apple.com/documentation/swift/range
Topic: UI Frameworks SubTopic: SwiftUI Tags:
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 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 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 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 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 What do the different cases of the enumeration Data.Deallocator mean?
The method of deallocation based on the memory model.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to How can I use custom image instead of the ImagePicker in SwiftUI?
You can probably use a TabView to created a pageable carousel: TabView { ForEach(datasource, id:\.self) { data in NavigationLink(tag: company.id, selection: $currentSelection) { // The view to navigate on image selection SomeCustomViewToDisplayMoreData(data: data) } label: { Image(data.image) // you can probably give the image view a material back ground with rounded corners } } } .tabViewStyle(.page(indexDisplayMode: .always))
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to xcode 13.3 Documentation Can't Find Objects Like NSView...
Works for me Xcode 13.3 maxOS 12.3
Replies
Boosts
Views
Activity
Mar ’22
Reply to Series 3 Apple Watch won’t connect to my iPhone 13
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: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to List of Apps selected from Family Activity Picker from a parent/guardian device is empty
Did you add the capability to the project and did you request access to the entitlement from: https://developer.apple.com/contact/request/family-controls-distribution
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to OpenVPNProvider
To use NETunnelProvider the following entitlements must exists com.apple.developer.networking.networkextension configured with one of the following options <key>com.apple.developer.networking.networkextension</key> <array> <string>app-proxy-provider</string> <string>content-filter-provider</string> <string>dns-proxy</string> <string>dns-settings</string> <string>packet-tunnel-provider</string> </array> https://developer.apple.com/documentation/networkextension/netunnelprovider
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Communicate between iOS and macOS ?
See here: https://developer.apple.com/documentation/network and https://developer.apple.com/documentation/network/building_a_custom_peer-to-peer_protocol
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to use ForEach to increase number of rows in SwiftUI's Picker?
Read the documentation: works when used correctly ForEach(Array(stride(from: 1000, through: 20000, by: 1000)), id:\.self) { number in                 Text("\(number)").tag(number)             }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to About the "Account deletion within apps" requirement
The irony of the "Account deletion within apps" is Apple doesn't even offer account deletion via iCloud on iOS through settings, the web, appleid.apple.com absolutely no where because they know the disruption it will cause to their own services. It seems the only entity allowed to keep data is Apple. If there is then it is well hidden.
Replies
Boosts
Views
Activity
Mar ’22
Reply to How to use ForEach to increase number of rows in SwiftUI's Picker?
have a go at more documentation: ForEach(1..<31) conforms to the signature pattern for the Range type. A Range type is defined as an up to sequence and not an inclusive one. So when you provide ForEach(1...31), ClosedRange, there is no implementation to handle this signature. basically due to the fact arrays are zero based indices in C based type languages. https://developer.apple.com/documentation/swift/range
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22