Posts

Sort by:
Post not yet marked as solved
2 Views

Can I remove iPad support from my app on a new release?

Hi, I have a completely new release of my app coming out with a new tech stack. I noticed that only 1% of my users were on iPad so the new app was not created to be 'compatible' with iPad including how it looks on iPad. Can I release this new version of the app only for iPhone? Or because it was previously available for iPad I have to release for iPad as well? Really appreciate any support/guidance on this. Thank you!
Asked
Post not yet marked as solved
8 Views

Safari Web extension allow access all websites permissions - need clarification

I learned there are two types of safari extensions . Web extensions and app extensions . We are currently developing a safari web extension . The extension requires access on all web sites by default (without user granting permissions) . But there is no provision for same in web extension . However the same can be achieved in app extension by including safari website access  in info.plist . Please clarify why there is no provision to achieve the same in web extension . However same is provided in app extension .
Asked
Post not yet marked as solved
5 Views

How to restrict textfield to take input from virtual keyboard only not from any other connected Bluetooth Device (scanner device)?

I am working on an iPad application which uses Henex HC-3208R wireless bar code scanner. While doing scanning the scanner reads the code from the QR code or barcode and copies the code in the textfield where focus is there which need to be restricted. If by mistakenly the focus goes to any textfield and you trigger the scanning button in device at the same time then it reads the code and copies it to the textfield. I also tried to distinguish between the text inputs from the virtual keyboard and bluetooth input device so that I can block the text coming from bluetooth scanner device but there is no changes in the textfield delegates, it behaves the same. If we can get to know the source of the key strike when focus is already there in a textfield, that will be much helpful. PS: I am connecting the scanner as using HID Profile and it is treated as a bluetooth keyboard by iPad.This is expected as device treats bar code scanner as bluetooth keyboard, but we can forcefully open the virtual keyboard on long pressing the arrow-up icon in keyboard task bar which is shown everytime. Please let me know if it is possible or any other suggestion which I can try. Thanks in advance.
Asked
Post not yet marked as solved
9 Views

What do I have to do to get someone to build a app for me???

I’m partnerized with apple to develop a app but I’m illiterate when it comes to iT and computer jargon. I do know what I want and what apple has agreed to. You can be a first timer if you know what your doing to merely get it off the ground so it can be submitted to apple for back end completion. Granted it’s a good opportunity for a new comer to shine, yet a whiley veteran could provide the work of a lifetime. The idea into app is already copyrighted and concept patented. You would have the opportunity to give this app birth and sit back and say I did that.!
Asked
Post not yet marked as solved
9 Views

Adding items to a List inside a NavigationView animates the wrong item

If I create a NavigationView containing a List with dynamic items then the last item in the list is always animated no matter where the new element is inserted (my real code has a different layout and the data is from a FetchRequest but this is a minimal reproduction that has the same issue). The following code reproduces the issue (I'm using Xcode 13.2.1): struct ContentView: View { @State private var items: [Item] = [] var body: some View { NavigationView { List(items) { item in NavigationLink { Text(item.name) } label: { Text(item.name) } } .toolbar { Button("add") { withAnimation { items.insert(Item(name: "Top one should animate"), at: 0) } } } EmptyView() } } } struct Item: Identifiable { let name: String let id = UUID() } This animates the last item even thought the new item is inserted at the top: If the EmptyView() line is removed it animates the correct line: It also sort of works with some visual quirks if the items are generated using a ForEach inside a VStack inside the List like this: NavigationView { List { VStack { ForEach(items) { item in NavigationLink { Text(item.name) } label: { Text(item.name) } } } } ... Which produces this: I have tried attaching an .id(...) to the items but that doesn't appear to change anything. Am I missing something obvious? Is this potentially a bug with this particular combination of views?
Asked
by huwshimi.
Post not yet marked as solved
19 Views

Error :- APNS device token not set before retrieving FCM Token for Sender ID '836092823410'. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set.

Am trying to fetch FCM key from firebase but getting fcm key nil & error i mention above Delegate File Google Plist File <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CLIENT_ID</key> <string>836092823410-d76r5bkjrusfmgo6rskqo81l4mk7vmp4.apps.googleusercontent.com</string> <key>REVERSED_CLIENT_ID</key> <string>com.googleusercontent.apps.836092823410-d76r5bkjrusfmgo6rskqo81l4mk7vmp4</string> <key>API_KEY</key> <string>AIzaSyDpP1n_NRqj9c_Mq-pA2PlRez7AnVM5buw</string> <key>GCM_SENDER_ID</key> <string>836092823410</string> <key>PLIST_VERSION</key> <string>1</string> <key>BUNDLE_ID</key> <string>com.iai.tracker</string> <key>PROJECT_ID</key> <string>crucial-audio-334611</string> <key>STORAGE_BUCKET</key> <string>crucial-audio-334611.appspot.com</string> <key>IS_ADS_ENABLED</key> <false/> <key>IS_ANALYTICS_ENABLED</key> <false/> <key>IS_APPINVITE_ENABLED</key> <true/> <key>IS_GCM_ENABLED</key> <true/> <key>IS_SIGNIN_ENABLED</key> <true/> <key>GOOGLE_APP_ID</key> <string>1:836092823410:ios:0312dc35c45b23b9e37feb</string> </dict> </plist>
Asked
Post not yet marked as solved
21 Views

Apple must stop providing services in Russia!

Russia started an illegal and unprovoked full scale war against a sovereign country of Ukraine and is increasing violence on a daily basis killing civilians and destroying infrastructure. Apple must join a growing list of international businesses and not only halt sales in Russia, but cut off all services including developer accounts. Please support by upvoting! Stand with Ukraine 🇺🇦
Asked
Post not yet marked as solved
21 Views

Notification issues during shutdown.

At present, the application we developed has encountered a problem. When the service sends a notification, the mobile phone turns off when it does not receive the notification, and then the mobile phone turns on. Ask a question, evaluate the limitations of APNs push service, or is there a solution to it.
Asked
Post not yet marked as solved
29 Views

String AES Encryption and Decryption Non Matching

I'm using the following code to encrypt data using AES algorithm with key as system serial and a string as iv This is the write function func writeStringToFile() { do{ let path = URL(fileURLWithPath: "/Users/Shared") let folderurl = path.appendingPathComponent("MYPATH") let systemserial=self.getsystemserial(); let paddedserial = systemserial.padding(toLength: 16, withPad: "X", startingAt: 0) let aes1 = try AES(key: paddedserial, iv: "mystrongpasscode") // aes128 let sdata = try aes1.encrypt(Array(mystring.utf8)) let writedata1 = Data(bytes: sdata) try FileManager.default.createDirectory(at: folderurl, withIntermediateDirectories: true) let filepath = folderurl.appendingPathComponent("MYFILE") try writedata1.write(to: filepath) } catch { } } This is the read function func readStringfromFile() -> String { do{ let path = URL(fileURLWithPath: "/Users/Shared") let folderurl = path.appendingPathComponent("MYPATH") let filepath = folderurl.appendingPathComponent("MYFILE") let text1 = try Data(contentsOf: filepath) let systemserial=self.getsystemserial(); let paddedserial = systemserial.padding(toLength: 16, withPad: "X", startingAt: 0) let aes1 = try AES(key: paddedserial, iv: "mystrongpasscode") // aes128 let decrypted = try aes1.decrypt(Array(text1)) return String(bytes: decrypted, encoding: .utf8)! } catch { return " " } } The function i use to get the system serial is the following func getsystemserial() -> String { guard case let platformExpert = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice") ), platformExpert > 0, let serialNumber = IORegistryEntryCreateCFProperty(platformExpert, kIOPlatformSerialNumberKey as CFString, kCFAllocatorDefault, 0).takeUnretainedValue() as? String else { return "" }; IOObjectRelease(platformExpert); return serialNumber } But the read and written strings are not matching. What am i doing wrong ?
Asked
by vyshak.
Post not yet marked as solved
22 Views

Difficulties working with FileProvider extension

Hi, I'm now working with FileProvider on MacOS11.6. I find out that I need to add icons and export it as UTI in Containing App of FileProvider if I want to show some icon decoration on my items that under the control of FileProvider. But I just encountered some difficulties: As title says, once an UTI being exported with arbitrarily identifier, I cannot cancel the exporting and then re-export another image with the same identifier for the need of changing image but remaining identifier unchanged. My icon decoration somehow stops to show on items but it normally shows corresponding decoration identifier when evaluated by fileproviderctl evaluate {item_path} and changing identifier did not help. Both difficulties were not solved by follow steps I've tried: Force restart Finder Delete domain before restart FileProvider Use pluginkit -r to remove FileProvider before restart FileProvider Any advise would be appreciated, thanks!
Asked
by minlee.
Post not yet marked as solved
27 Views

error: The specified item could not be found in the keychain.

During build process, I have been encountering an error "error: The specified item could not be found in the keychain." for the code signing process. My apple ID joins a developer program of my company. I have 2 macbook - 1 for my personal, and 1 for my company. I can build apps with my personal macbook, but failed with my company one. I have exported the developer account from xcode of my personal macbook, and also imported to the company macbook's xcode. Both macbooks are macOS Monterey, and both xcode are the same version 13.2.1 For building an app, I've chosen "Automatically manage signing"
Asked
Post not yet marked as solved
34 Views

Change the System Cursor in mac os

Hi, I am making the cursor(=pointer) custom app. Now, I can change the cursor on my program's view. But, not only the view, but also I want to change the system cursor globally when my app is running. But, I can't find the documentation about this. Is it possible way or if somebody know the reference, please advise me. It's really thankful.
Asked
by ApwEslx.
Post not yet marked as solved
36 Views

Enabling/disabling Package Dependencies on build or across schemes?

My app has it's debug and release schemes. A client had a specific request which meant adding a couple of Swift packages that we only use with said client, and we proceed to install the app directly on their devices; however, on our repository we've been managing this request in its own branch, planning to eventually merge it to the development and master branches, and I am unsure of what to do regarding the client's package dependencies. Therefore, is there a way to manage which package dependencies to include when publishing to the App Store? Or is this an all or nothing situation?
Asked
by DreArg.
Post not yet marked as solved
42 Views

xcode 13 how to enable CloudKit

How to enable CK in a project in xcode 13? The below instructions don't work, as iCloud is not found when trying to add a capability. https://developer.apple.com/documentation/cloudkit/enabling_cloudkit_in_your_app Thx
Asked
by jacko3232.