|
pokeyman posted:Check out the organizer, I think there's lists of projects and/or repositories. Try deleting anything that looks relevant to that dialog box. I did this again and again - I could even reload Xcode, check that it's not there, and then it will reappear 5 seconds later. Turns out I had to hunt down the project folder and delete it.
|
# ¿ Aug 25, 2011 14:53 |
|
|
# ¿ May 16, 2024 21:02 |
|
Is there a good way to determine the exact model iPad at compile time (1 or 2)? I need to change some things to optimize between the two, and I'd rather do it at compile time than runtime. If it needs to be runtime, is there a better solution than this StackOverflow answer?
|
# ¿ Aug 29, 2011 23:05 |
|
Re: iPad 1 vs. 2 check -- I'm writing an audio synthesis app that really pushes the processor to get every drop of power, and I've been developing on an iPad 2. I continue to optimize every ounce of performance out of my synthesis code, but I fear that I may need to make some cuts to the synthesis code itself to avoid sample dropping on the iPad 1. For example, I might need to drop the maximum voice polyphony. This would mean loading a lighter version of the synthesis graph. Checking for device capabilities is already done. But I'm anticipating a hit in the processor, and for that I would need to know which device it's running on. I'll be getting my hands on an iPad 1 within the next week or so. We'll see how bad it is...
|
# ¿ Aug 30, 2011 15:53 |
|
nolen posted:My suggestion that I posted earlier would tell you which iPad you are running on currently. No camera + UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad tells you that you are on an iPad with no camera. iPad first generation, ahoy. Good enough for me - thanks!
|
# ¿ Aug 30, 2011 18:41 |
|
ynohtna posted:S'up, audio programming comrade. No, I have a fixed number of voices (only 8) that render continuously, with a router that steals voices when the max is exceeded. I don't have an effective way to dynamically allocate voices, and even if I did, for this project I'd rather have the consistency to say 'You have X number of voices available,' even if the number is a bit lower for the iPad 1. In other news, I'm so close to entering beta testing I can barely contain myself. drat the beginning of the school year!
|
# ¿ Aug 31, 2011 16:45 |
|
ynohtna posted:Good luck with the beta and subsequent review and release! Thanks! quote:Are you also supporting CoreMIDI? Nope, I'm rolling my own control system. I'll be showing it off as soon as I get it out there!
|
# ¿ Sep 1, 2011 04:01 |
|
If I implement application-didFinishLaunchingWithOptions:, will application-didFinishLaunching ever get called? I'm testing the ability for my app to resume its state, and if it quits in the background it just launches -didFinishLaunchingWithOptions: when it opens up again. Edit: nevermind, just looked it up in the documentation and I don't need to implement it. lord funk fucked around with this message at 23:19 on Sep 3, 2011 |
# ¿ Sep 3, 2011 23:08 |
|
Does it bother anyone else that using 'genstrings' to create localized strings doesn't use the comments to initially assign the string? IE - it will use: / * This is the string. */ "kThisIsTheString" = "kThisIsTheString" instead of / * This is the string. */ "kThisIsTheString" = "This is the string. " [/whine]
|
# ¿ Sep 4, 2011 18:23 |
|
Funso Banjo posted:Nothing like that. There is some intentionally vague language in the App Store Review Guidelines, and I'm sure the reviewers have to walk on eggshells. If they write you and tell you they rejected your app for X specific reason, or that you could do Y thing to fix it, it sets precedent for other developers to find ways around it. It's a legal thing. PT6A posted:Yeah, I was ready for app approval to be a massive pain in the rear end, but three apps later, they've overlooked all of my several UI flaws (meaning the UI is usable, and it doesn't explicitly break any rules they've written down, but it's not ideal). My first release of an app didn't launch at all on iPod touches, and it passed through. I wish they had rejected it...
|
# ¿ Sep 7, 2011 16:36 |
|
I'm getting an odd response from moving a UISlider (that, up until now, has been perfectly normal). It seems like something in the system is making a new [NSDictionary dictionaryWithContentsOfFile] when I move it. Instruments readout: I only call dictionaryWithContentsOfFile in my -didFinishLaunching method, and nowhere else. Where might this be coming from? Edit: figured it out. It sends a notification that the current preset has been changed, and that was writing to the user defaults every time. Fixed. lord funk fucked around with this message at 17:57 on Sep 8, 2011 |
# ¿ Sep 8, 2011 17:26 |
|
I've started using YES/NO because it's shorter to type and fits the readability more.
|
# ¿ Sep 23, 2011 14:56 |
|
I always figured you'd have to build a separate pirate build that's gimped in some way, then be the one to upload it to whatever pirate sites are out there. Seems a bit risky though - the chance of it backfiring with negative feedback seems pretty high.
|
# ¿ Sep 26, 2011 16:08 |
|
Small White Dragon posted:How do I symbolicate a crash file in Xcode 4? Ha! I just taught myself how to do this yesterday. Here are my notes: 1. Make sure you archive the Build Products of the exact version that generated the crash log. 2. Move the crash log, the app bundle, and the .dSYM file into the same directory. 3. Run the symbolicate script. You can make an alias: code:
code:
|
# ¿ Oct 1, 2011 18:24 |
|
Can someone explain this graphic result to me? I'm making a simple rect background with OpenGL, with different color corners to make a gradient. On my iPad 2, it looks like this: In the simulator, AND the first generation iPad 1, it looks like this: Why the difference? lord funk fucked around with this message at 20:22 on Oct 1, 2011 |
# ¿ Oct 1, 2011 18:27 |
|
Doc Block posted:Insufficient color precision would be my guess. Are you using a 16-bit or 32-bit framebuffer? I'm not actually sure how to find out. I'm assuming it's somewhere where I create the framebuffer? Here's the code: code:
|
# ¿ Oct 1, 2011 23:43 |
|
I think I found it:code:
|
# ¿ Oct 2, 2011 00:09 |
|
iOS 5 dev chat: Interesting to see that Apple is using the volume button as a camera snapshot button in iOS 5. I seem to remember devs complaining that their apps were rejected if they used the volume buttons for anything other than volume.
|
# ¿ Oct 4, 2011 21:49 |
|
What is configd, why is it taking so much memory on my iPad, and why does my app get jettisoned when it tries to launch but others don't? Here is the "LowMemory-2011-10-05-140147.log" it makes: quote:Incident Identifier: 9EF6760E-D92B-48A2-B616-4A2B36F970A4
|
# ¿ Oct 5, 2011 20:14 |
|
I got tired of not having a good image of accelerometer / gyroscope motions for the iPad, so I made my own. Figured I'd share if anyone else wanted it for a manual or something: Illustrator file and PDF: https://rapidshare.com/files/2834131909/ipad-device-motion-vector.zip
|
# ¿ Oct 7, 2011 18:18 |
|
Funso Banjo posted:How much are you guys seeing per app sold? My general rule is that you will bank 50% of the selling price after taxes. Also: updated device motion graphic (now with depth!). https://rapidshare.com/files/3471396788/ipad-device-motion-1.zip
|
# ¿ Oct 8, 2011 17:08 |
|
Where do you begin when EXC_BAD_ACCESS just points to your main() instead of a specific variable or function? There are 10 million things that could be happening here, but there has to be a way to see what's really causing this.
|
# ¿ Oct 13, 2011 17:18 |
|
OHIO posted:Have you tried Zombie mode with the profiler in the simulator? That might give you some helpful info. Holy poo poo, thank you. I enabled NSZombieEnabled as an environment variable instead, and it points to exactly what was called. Now excuse me while I go commit suicide for spending months debugging like a caveman.
|
# ¿ Oct 13, 2011 17:33 |
|
pokeyman posted:Feel even dumber maybe! at the top note: Apple posted:If you're developing for iOS, you should look through this list to see if you're missing out on something that will make your life easier. Yep, nailed it right there.
|
# ¿ Oct 14, 2011 15:24 |
|
I'm in the habit of doing something like this:code:
code:
|
# ¿ Oct 18, 2011 17:23 |
|
Yeah, sorry. It should only becode:
|
# ¿ Oct 18, 2011 22:26 |
|
What really bothers me is not knowing when a random blog post or article about Xcode is for 3 or 4. I tried (and failed) to get an ad hoc build for a beta tester, but I was piecing together different articles that were spanned 4 years apart.
|
# ¿ Oct 22, 2011 13:48 |
|
pokeyman posted:I agree it's useful to know, but it's an unnecessary detour when learning. If you're in a rush, you won't bother, and if you're willing to take a time-intensive detour, you might as well go whole hog. This isn't a bad idea. I went from Processing to OpenFrameworks to iOS. The object part is still what hangs me up the most.
|
# ¿ Oct 27, 2011 18:29 |
|
Slave posted:Is there a setting I need to enable somewhere to make this work? Just a minor check, but did you make your file .mm instead of .m?
|
# ¿ Nov 1, 2011 02:10 |
|
I have gotten an EXC_BREAKPOINT (SIGTRAP) crash in my device motion stopping method. Is my test to make sure _motionManager is alive correct? What could be causing this (infrequent) crash?code:
|
# ¿ Nov 5, 2011 15:10 |
|
Here is the crash log. Anything jump out? I'm going to look more into the SIGTRAP thing. I am blocking some things out, but this crash seems to have happened on Thread 0 (don't know if that means anything).
|
# ¿ Nov 5, 2011 18:06 |
|
pokeyman posted:Looks like an unknown selector -stopDeviceMotion is being sent to the touch control view controller. So it looks like an issue when I get a memory warning - level 2. My views are unloading, objects deallocating, and then they're getting called. Sigh. If I didn't suck at interface building this app would have been out long ago. Edit: okay, I think I get it. This is why you release the main view's subviews in the ViewDidUnload method, right? As long as I nil out everything, this should go away. lord funk fucked around with this message at 15:29 on Nov 6, 2011 |
# ¿ Nov 6, 2011 15:25 |
|
I should say that a lot more poo poo has begun happening. I'm getting crashes in multiple views. My view controller management is crap. I have massive memory leaks that are there (iPad) / not there (simulator) / not there (iPad with a fresh install). Instruments' Leaks won't run for more than 6 seconds. It hasn't been a good day. So the unknown selector issue has kind of taken a back seat until I figure out how much of this I have to nuke and rebuild.
|
# ¿ Nov 6, 2011 19:22 |
|
And don't forget to archive your old SDKs (assuming you still want to compile to them).
|
# ¿ Nov 20, 2011 00:13 |
|
So I've made a French localized version of Localizable.strings, changed my iPad to French, and the French version of the strings doesn't pop up (it's still clearly using the English file). I've changed the file encoding to UTF-16, I tried adding a CFBundleLocalizations array to the Info.plist, neither kicked it into French. What am I missing? I've done this before. Edit: deleting the app from the iPad then reloading did it. Weird. lord funk fucked around with this message at 01:12 on Nov 28, 2011 |
# ¿ Nov 28, 2011 00:20 |
|
Speaking of OpenGL, I'm trying to programmatically take a screenshot of my EAGLView, so I found this post over in the dev center about how to do that. I dropped the call to the screenshot function before presentFramebuffer, but the PNG file delivered is completely blank. It's the right size - but it's empty.code:
glBindRenderbufferOES(GL_RENDERBUFFER_OES, _colorRenderbuffer); to glBindRenderbuffer(GL_RENDERBUFFER, _colorRenderbuffer);. Why would my image be blank?
|
# ¿ Nov 29, 2011 17:47 |
|
I thought this might do it: changing kCGImageAlphaPremultipliedLast to kCGImageAlphaNoneSkipLast, since my layer is opaque, but now I get a completely black image.code:
|
# ¿ Nov 29, 2011 18:08 |
|
Here is the entire EAGLView.m if it helps.
lord funk fucked around with this message at 21:24 on Nov 29, 2011 |
# ¿ Nov 29, 2011 21:21 |
|
I'm about to finish my next app (feels strange to say it), and I can't remember: does the project name matter anymore? I have a bundle display name set, and I think you give the App Store name when you create the app in iTunes Connect. Does the Xcode project name matter? Edit: I guess it doesn't. lord funk fucked around with this message at 21:06 on Dec 10, 2011 |
# ¿ Dec 10, 2011 19:35 |
|
Welp. Holy poo poo. It's done. I just finished my iPad app TC-11, a fully programable multi-touch synthesizer. It has been a monster - but it's out there now. Tomorrow I'm going to make a Musician's Lounge thread about it, post it in the YouTube thread, but first... Seriouspost for a minute: you guys are the best little programming community. I'm not making GBS threads you when I say this app wouldn't have happened without you guys. Grab some promo codes below, enjoy, and thanks. https://vimeo.com/33756537 More info: http://www.bitshapesoftware.com/instruments/tc-11/ lord funk fucked around with this message at 14:48 on Dec 16, 2011 |
# ¿ Dec 16, 2011 02:47 |
|
|
# ¿ May 16, 2024 21:02 |
|
ManicJason posted:drat, this is very well polished and customizable. Every time I looked at a new options menu, my jaw dropped.
|
# ¿ Dec 16, 2011 14:47 |