When rebuilding a perfectly working iPhone project on iOS 4 SDK, I found out that fstat() returns a bogus value in the stat.st_size field. Observed on iPhone 3 simulator with iOS 4. Looks like there's a discrepancy between the binary layout of the stat structure in the program and in the API. I've found a workaround (lseek() to the end), but this looks like a bug to me. How do I submit a bug report to Apple, please?
https://bugreport.apple.com/
Related
I am working on a fix for iOS 7 and having a problem. When I run my app on real device (iPhone 4S iOS 7), the screen looks different than when I run the same app on iPhone 3.5 inches iOS 7 Simulator. I am trying to understand why and what is the reason for that, if anyone can help it would be great!
First screenshot from Simulator, second picture from Device:
SOLVED: The app on the real iPhone has a base SDK 6.0 and the app that is on the Simulator has base SDK 7.0. So I guess the real device knew how to compensate for the low SDK base, unlike the simulator which behaved totally in a SDK 7.0 environment and thats why it was showing differently. thanks!
For anyone else reading this, Roy's 'Solved' comment above is correct.
I have gone into Xcode after the update and it had automatically updated my Base SDK to the latest 'iOS 7.0'.
After changing this back to 'iOS 6.1' - both the Simulator and Device are now working the same, as expected on iOS 7.
Not trying to steal Roy's thunder (whose saved me a good numbers of hours - thank you), just summarizing to others how to quickly fix the issue.
Ralph
Contrary to the proposed solution, Apple Documentation recommends to set Base SDK to the latest iOS https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html#//apple_ref/doc/uid/TP40012582-CH28-SW37, so there must be a better solution
I also faced same issue..
I solved by adding below code at viewDidLoad method..of view controller.
if ([self respondsToSelector:#selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
Hope it helps..Thanks.
So i released an app and all seemed fine. All of a sudden I got reviews in and emails that he app did not function and was doing weird things. Turns out the users were using iPhone 4s and 5. I have an iphone 4 running 6.1.3 and everything worked great. As i did some testing in xcode i found using iPhone sim with 3.5 inch screen everything worked perfect. If I switched to the 4 inch retina display it went crazy... button functions from other screens mixed in with current view. Long story short... I went in and fixed it and ran tests using the simulator. all my tools are updated and everything looks good. I released update to iTunes so everyone who had issues could now use the app.
But... a couple people i have been speaking with say the issues are still there. I do not understand how since I test in the simulator. Does anyone know how to properly test an app on the any version iOS and if it works on the sim it will work on an actual device. I am completely baffled by this issue.
I am using xcode 4.6.2 with iOS SDK 6.1 and my app deployment target is 4.3
i've put the iOS 6 GM on my iPhone 4 (not 4S),
and the 'rate it' buttons in my own app and others no longer do their thing.
instead it opens the app store w/ "cannot connect to itunes store".
regular app-links from safari work fine.
i'm using links of this form:
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=<APP_ID>
for example, from safari on iOS 5.1, the link on this page works fine:
http://elenzil.com/scratch/appstore
but the same test w/ iOS 6 yields the problem i describe.
.. i have to say the App Store in general seems a bit buggy in the iOS 6 GM.
i'm seeing issues scrolling through the list of search results, mainly.
We also ran into this, but it appears that Apple put in a fix this morning. No updates of iOS required.
I'm using http and it works well in iOS6.
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=xxxxxxxxxx&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software
Just sharing what I use.
Hi.
I have a little problem with OTA Distribution of the iOS. In fact, it totally works with iOS 5 and more, but when I tried on an iOS 4 device, nothing happen. And when I say nothing, it's not a way to say "it doesn't work". No popup, no error message (or even warning message)... But I'm sure I read that OTA Distribution with plist/ipa files works fine in iOS 4.
I use this link :
Testing-98
Once again, it works on iOS 5 so... : (
Thanks for your help.
Do you know BetaBuilder for iOS? It works like a charm with iOS 4 and up. Made my life a lot easier!
I have an app that scans a bar code. It then submits a link to a server and displays the info on a webview. I'm simply calling a request with the link + the barcode result. Now the issue is my iPhone 4, iPhone 3GS all work PERFECTLY with no problem what so ever.
The iPad 2 gives me the error: this page contains the following errors: error on line 26 at column 1066: EntityRef: expecting ';'
Why would this happen on the iPad and not the iPhone?
Running 4.3.5 on the iPad, 5.0 on the iPhone, 4.3.3 on the 3GS.
Thanks,
David
To solve this I am reading in the HTML, and then displaying the HTML from that local variable. This solved the issue and a bug report was posted on Apple's site.