Post

Replies

Boosts

Views

Activity

Reply to Error loading Storyboard
I note object ID has changed from 'MCj-i5-HUl' to 'BYZ-38-t0r' Is it a different project ? Did you find which object has ID 'BYZ-38-t0r'. It is probably a ViewController scene. Interesting, I checked several projects: their initial scene has the same ID (probably attributed systematically by Xcode) 'BYZ-38-t0r'. The ViewController has the same ID. So, the problem is with this initial scene. Could you describe how it is composed ? To find, if you cannot search in storyboard, open the storyboard directly in TextEdit. Please tell and copy the complete XML part for the 'BYZ-38-t0r' object. Additional question: is it an iOS project (it seems so)? or a Catalyst ? what is the simulator version you use ?
May ’21
Reply to Getting mismatching height values - same device but different iOS version
Where exactly do you call: document.documentElement.clientHeight iPhone 11 physical height in landscape is 414. The difference is likely to take into account the safe area (notch and bottom) Probably, the library you use has been updated for 14.2 In addition, in Mozilla doc https ://developer.mozilla .org/fr/docs/Web/API/Document/height they advise not to use anymore: Document.height  Deprecated  This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.  Note: Starting in Gecko 6.0, document.height is no longer supported. Instead, use document.body.clientHeight. See element.clientHeight.
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to "Invalid parameter not satisfying: [constraint isKindOfClass:[NSLayoutConstraint class]]"
You speak of a Location button. You do not show its IBAction. In addition, LocationViewController should also conform to UITableViewDelegate 'Datasource & Delegate' outlets were formed by dragging from the connection view 'Datasource & Delegate' to the LocationViewController This is not very clear. You'd better set the delegate in viewDidLoad override func viewDidLoad() { super.viewDidLoad() tableView.delegate = self tableView.dataSource = self } So please provide more comprehensive code so that we can find what is happening. import UIKit class LocationViewController: UIViewController, UITableViewDataSource { @IBOutlet weak var tableView: UITableView! let manager = LocationDataManager() override func viewDidLoad() { super.viewDidLoad() } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) - Int { 10 } func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) - UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: "locationCell", for: indexPath) cell.textLabel?.text = "A Cell" return cell } } Finally, do an option-clean build folder, as it seems you have moved things around.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to software update
Get full details here: https ://iosref. com/ios Device               Released     First iOS Max iOS iPhone 6 / 6 Plus    2014              8           12
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to How fix the package "%@"is missing or invalid
I cannot tell how long it would take. I found this reference to the same issue, with some advice, but I could not test it by myself. For 1 they propose to turn off wifi and then on again (but I doubt that could be the cause). This seems a more elaborate advice: https://discussions.apple.com/thread/252431443 Here are their advice: First, make sure all external devices are disconnected before trying to install. Then let's start to macOS Recovery and use Disk Utility to repair the hard drive. Here's how: How to repair a Mac disk with Disk Utility After the repair is complete, restart your Mac normally. Then you'll want to delete the macOS Big Sur install file and download it again. The install file can be found in the Applications folder and the Launchpad. If you're using any security software, be sure to disable or temporarily remove it so it doesn't interfere with the connection and download. May check also that you have no firewall : Some seem to have succeeded by starting in safe mode. read all ideas here : https://developer.apple.com/forums/thread/649819 Unfortunately, I'm not from Apple, there is nothing I can do to fix it. Wish all this will finally help.
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to How fix the package "%@"is missing or invalid
May have a look here: https ://osxdaily. com/2020/11/12/macos-big-sur-update-download-errors/ “The package %@ is missing or invalid” Error Message Some users have encountered an error message stating  “The package %@ is missing or invalid” when attempting to download or upgrade to macOS Big Sur. This problem can sometimes be resolved by installing any available system software updates on the Mac first. Also, sometimes changing the wi-fi network (or turning off wi-fi if you’re on ethernet), and then deleting and re-downloading the macOS Big Sur installer can sometimes resolve the error.
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to How to best handle this localization scenario?
So, you send back the button title probably, which is effectively localized Did you consider using buttons tags ? I would do this: 1) On app load, swift will pick up 6 random items from a strings array of 100 items. keep track of the index of each item selected 2) It will display each of those 6 strings on 6 user interface buttons. Set the button tag with the index you have used to set its title. 3) User will tap on a button: string value is sent back into app. send back the tag value instead. 4) App will do processing with this value. Problem is that all internal processing from that values that went out from the array on user interface then back in app, is all done with english values. In particular that user choice is saved in external database, and I can't have saved in database localized versions: all internal processing on array values in english. To do the processing, get back the string value from the array, using the index you received. If there are still problem, please explain. Otherwise, don't forget to close the thread on this answer. Goos continuation.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Outlet declarations
I would: do an option-clean build folder and test in the Issue navigator, check if there are messages to update some files to new versions reboot the Mac
Replies
Boosts
Views
Activity
May ’21
Reply to Getting mismatching height values - same device but different iOS version
Logic could be that now, clientHeight takes correctly into account the spec, leaving margins (notably for safe area). Have you the opportunity to test on SE simulator (no notch), to see if you get full height (375) with iOS 14.4 ? That would be some confirmation of the logic.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Error loading Storyboard
I note object ID has changed from 'MCj-i5-HUl' to 'BYZ-38-t0r' Is it a different project ? Did you find which object has ID 'BYZ-38-t0r'. It is probably a ViewController scene. Interesting, I checked several projects: their initial scene has the same ID (probably attributed systematically by Xcode) 'BYZ-38-t0r'. The ViewController has the same ID. So, the problem is with this initial scene. Could you describe how it is composed ? To find, if you cannot search in storyboard, open the storyboard directly in TextEdit. Please tell and copy the complete XML part for the 'BYZ-38-t0r' object. Additional question: is it an iOS project (it seems so)? or a Catalyst ? what is the simulator version you use ?
Replies
Boosts
Views
Activity
May ’21
Reply to Enable Development Signing Not Working in Xcode
Have you checked your Xcode Preferences Accounts to see all your certificates ? What are the entitlements for your app ?
Replies
Boosts
Views
Activity
May ’21
Reply to iPhone overheating and restarting in ios 14.5.1
Did you see this thread and the advice to full reset ? https://developer.apple.com/forums/thread/660693
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Getting mismatching height values - same device but different iOS version
Which browser do you use ? Did you see here how height is computed ? Seems logical you don't get 414 (full screen height): https ://developer.mozilla. org/en-US/docs/Web/API/Element/clientHeight
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How to create IEEE P1363 signature
@dharmesh_dabhi_mobile_developer Good luck, and don't forget to close the thread once you're done.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Getting mismatching height values - same device but different iOS version
Where exactly do you call: document.documentElement.clientHeight iPhone 11 physical height in landscape is 414. The difference is likely to take into account the safe area (notch and bottom) Probably, the library you use has been updated for 14.2 In addition, in Mozilla doc https ://developer.mozilla .org/fr/docs/Web/API/Document/height they advise not to use anymore: Document.height  Deprecated  This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.  Note: Starting in Gecko 6.0, document.height is no longer supported. Instead, use document.body.clientHeight. See element.clientHeight.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to "Invalid parameter not satisfying: [constraint isKindOfClass:[NSLayoutConstraint class]]"
You speak of a Location button. You do not show its IBAction. In addition, LocationViewController should also conform to UITableViewDelegate 'Datasource & Delegate' outlets were formed by dragging from the connection view 'Datasource & Delegate' to the LocationViewController This is not very clear. You'd better set the delegate in viewDidLoad override func viewDidLoad() { super.viewDidLoad() tableView.delegate = self tableView.dataSource = self } So please provide more comprehensive code so that we can find what is happening. import UIKit class LocationViewController: UIViewController, UITableViewDataSource { @IBOutlet weak var tableView: UITableView! let manager = LocationDataManager() override func viewDidLoad() { super.viewDidLoad() } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) - Int { 10 } func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) - UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: "locationCell", for: indexPath) cell.textLabel?.text = "A Cell" return cell } } Finally, do an option-clean build folder, as it seems you have moved things around.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Computer zodat to big sur
Did you try the usual clear PRAM ? https://support.apple.com/en-us/HT204063 or Resetting the system management controller (SMC) https://support.apple.com/en-us/HT201295
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to software update
Get full details here: https ://iosref. com/ios Device               Released     First iOS Max iOS iPhone 6 / 6 Plus    2014              8           12
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to SwiftUI NavigationLink isActive is not working right on iOS 14.5
More than two NavigationLinks in List makes me very depressed. There are problems in 14.5 when there are 2 navigationLinks: https://forums.swift.org/t/14-5-beta3-navigationlink-unexpected-pop/45279 Is it the problem you experience ? Note also that if you have 2 links, you need 2 State var isActive1 and isActive2. Otherwise, please explain more.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How fix the package "%@"is missing or invalid
I cannot tell how long it would take. I found this reference to the same issue, with some advice, but I could not test it by myself. For 1 they propose to turn off wifi and then on again (but I doubt that could be the cause). This seems a more elaborate advice: https://discussions.apple.com/thread/252431443 Here are their advice: First, make sure all external devices are disconnected before trying to install. Then let's start to macOS Recovery and use Disk Utility to repair the hard drive. Here's how: How to repair a Mac disk with Disk Utility After the repair is complete, restart your Mac normally. Then you'll want to delete the macOS Big Sur install file and download it again. The install file can be found in the Applications folder and the Launchpad. If you're using any security software, be sure to disable or temporarily remove it so it doesn't interfere with the connection and download. May check also that you have no firewall : Some seem to have succeeded by starting in safe mode. read all ideas here : https://developer.apple.com/forums/thread/649819 Unfortunately, I'm not from Apple, there is nothing I can do to fix it. Wish all this will finally help.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How fix the package "%@"is missing or invalid
May have a look here: https ://osxdaily. com/2020/11/12/macos-big-sur-update-download-errors/ “The package %@ is missing or invalid” Error Message Some users have encountered an error message stating  “The package %@ is missing or invalid” when attempting to download or upgrade to macOS Big Sur. This problem can sometimes be resolved by installing any available system software updates on the Mac first. Also, sometimes changing the wi-fi network (or turning off wi-fi if you’re on ethernet), and then deleting and re-downloading the macOS Big Sur installer can sometimes resolve the error.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How to best handle this localization scenario?
So, you send back the button title probably, which is effectively localized Did you consider using buttons tags ? I would do this: 1) On app load, swift will pick up 6 random items from a strings array of 100 items. keep track of the index of each item selected 2) It will display each of those 6 strings on 6 user interface buttons. Set the button tag with the index you have used to set its title. 3) User will tap on a button: string value is sent back into app. send back the tag value instead. 4) App will do processing with this value. Problem is that all internal processing from that values that went out from the array on user interface then back in app, is all done with english values. In particular that user choice is saved in external database, and I can't have saved in database localized versions: all internal processing on array values in english. To do the processing, get back the string value from the array, using the index you received. If there are still problem, please explain. Otherwise, don't forget to close the thread on this answer. Goos continuation.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21