|
Oh poo poo, I just realized what you guys had talked about earlier with the whole encryption issues when submitting your app. All we do is make requests to our website at a https address. We only pass back json from our platform and it really doesn't contain any sensative data. Does this mean I need to get permission? I'm reading through all of these pages/google searches and it's just confusing me.
|
# ? Dec 12, 2012 23:23 |
|
|
# ? Jun 5, 2024 03:13 |
|
Doh004 posted:Oh poo poo, I just realized what you guys had talked about earlier with the whole encryption issues when submitting your app. Eh... I just wing it when it comes to HTTPS and say "No". I've never been rejected for it.
|
# ? Dec 12, 2012 23:30 |
|
duck monster posted:Eh... I just wing it when it comes to HTTPS and say "No". I've never been rejected for it. But do your apps make requests to https URL's?
|
# ? Dec 12, 2012 23:33 |
|
Doh004 posted:But do your apps make requests to https URL's? yep. Its a little white lie, and I'm sure their tools could tell them the term "https" appears in your code , but hey they probably would rather not know. Between you and apple, the only one who wants the hassle is some grey haired old oval office in congress who wrote some dumb bill to prevent american companies having an advantage over chinese companies who suffer no such restrictions. And as an australian who writes apps for australian companies to use in australia, I *really* couldn't give a gently caress about US export laws. duck monster fucked around with this message at 23:44 on Dec 12, 2012 |
# ? Dec 12, 2012 23:41 |
|
duck monster posted:yep. Its a little white lie, and I'm sure their tools could tell them the term "https" appears in your code , but hey they probably would rather not know. Between you and apple, the only one who wants the hassle is some grey haired old oval office in congress who wrote some dumb bill to prevent american companies having an advantage over chinese companies who suffer no such restrictions. I don't happen to be in that situation: American working for an American company selling to mostly Americans but not limited to just them.
|
# ? Dec 13, 2012 00:03 |
|
Doh004 posted:I don't happen to be in that situation: American working for an American company selling to mostly Americans but not limited to just them. I'm an American working for American companies and have developed several apps making https requests and I've never worried about it either. I guess I just uh, assumed it was okay.
|
# ? Dec 13, 2012 01:13 |
|
I'd say this is something you should email Apple about, but you might shoot yourself in the foot if they decide you're not in compliance and pull your app.
|
# ? Dec 13, 2012 01:32 |
|
Yeah, I would love to just go ahead and submit it but I can't. We're having our lawyer dude read over it and hopefully he'll get back soon. He's technically on vacation this week but he answered my email.
|
# ? Dec 13, 2012 02:03 |
|
Architectural question, wanted to run this by you guys, see if you can perhaps stimulate a better solution. My language learning app consists of two parts: one for the app logic/controllers/models and an interchangeable one for different languages that the app supports: words, sounds, pictures, settings etc. The idea is that the core of the app stays the same and is developed separately from the content. As far as App Store is concerned, there's a separate app for each language (with IAPs to buy more content for that specific app), but the core is exactly the same for all of them, with only the content portion changing in the project itself. The best solution would be to have 1 app only to download all types of content from the cloud, but as a company we need at least half a dozen apps out there on the store to look "reputable" to partners/investors/et al., and so we need to do this the hard way. I'm thinking of organizing the modules like this:
Right now we're doing it pretty ghetto: there's one repository and we overwrite its "content" folder from a separate location before each app's submission. I feel like the above would be at the very least a step up. Any suggestions?
|
# ? Dec 13, 2012 06:05 |
|
fankey posted:Is there any documentation on exactly how UIImage frees up memory in low memory situations? I have a case where I'd really like it to discard the internal image data ( as per the docs ) but as far as I can tell it never frees any memory and my app crashes when run on an iPad 1. If a UIImage is inside a UIImageView it might not discard its image data as it's effectively "visible". It could even be a case where the UIImageView is holding onto the data, even though the UIImage isn't. Also, removing the UIView hierarchy that represents a page from the root view hierarchy of a currently visible UIViewController doesn't do anything if something else is holding onto it. For any pages that are outside of your 3-page buffer I would completely dump their view hierarchy. I'm guessing the reason you aren't already doing this is because you're downloading the images from the network. To fix this I would just create a mapping from an image URL to an on-disk filename, and check that before I request the image from the network when I create the view hierarchy for a page that's coming on-screen. Another solution is to use the image caching mechanism of a networking library like AFNetworking.
|
# ? Dec 13, 2012 07:19 |
|
DreadCthulhu posted:Architectural question, wanted to run this by you guys, see if you can perhaps stimulate a better solution. It sounds like the content folder for each language isn't in the repository? Is there a reason for that? I'd probably go with one Xcode project with separate targets, one for each app in the App Store. Include the core source code in each target, then add only the relevant content as resources etc. for each target. The benefit to splitting out separate projects for each app is if someone wants to work on just one of the apps. They can open just the one project and ignore the other languages, while you can open them all in a workspace and see everything. Having multiple git repositories doesn't sound that valuable to me to be honest.
|
# ? Dec 13, 2012 07:44 |
|
pokeyman posted:It sounds like the content folder for each language isn't in the repository? Is there a reason for that? Oh yeah, I guess different targets make sense, totally forgot about their existence. Thanks, that's very neat, and does sound significantly simpler. That'd allow me to configure which folder to include in the bundle and all sorts of app-specific settings, which was what I was trying to achieve with multiple repositories. I've only ever used one target per project so far, so I'm completely oblivious to the majority of the uses. I've used schemes though for Dev/AdHoc/Prod configuration. Is there an in-depth guide anywhere on how to use them properly and what the common use cases are? I explicitly remember not having a good time trying to define different preprocessor macros in Build Settings and there being a rather humble amount of documentation out there.
|
# ? Dec 13, 2012 08:52 |
|
Each target has its own build settings, so that part should be easy enough. I know almost nothing about schemes.
|
# ? Dec 13, 2012 17:15 |
|
Yay! Our lawyers ended up saying that we were okay. Probably had to do with IP or copyrighted content or something or another hell if I know I'm not a lawyer. Awaiting review
|
# ? Dec 13, 2012 19:30 |
|
When you crash, the console gets a message with the exception and that includes "first throw call stack: <bunch of hex addresses>". Are those usable for anything? I tried to use atos, grabbing the .app and .dsym from Xcode's Organizer window, and it symbolicated nearly nothing. What little it did symbolicate was clearly a coincidence, as it had nothing to do with anything. It would be very handy to symbolicate this instead of having to get crash reports.
|
# ? Dec 14, 2012 00:09 |
|
So speaking of crashes and dSYMs, we have some crash reporting now that I'm getting crash logs from every type of iOS our app supports. But I can only symbolicate them fully (System libraries / Frameworks I mean.) if I have the same version of the OS that generated the crash on my local machine. Only, while I have access to an iPod with 4.3.3 on it, i got crashes from 4.3.1 and 4.3.0 that I don't have. Is there some place where I can just get all of the symbols for all the framework/libraries for every version ever and stop asking QA to hunt down devices?
|
# ? Dec 14, 2012 03:44 |
|
If you hang onto the Xcarchives, you can symbolicate them with the contained dSym file. There's a script called symbolicatecrash hiding somewhere in the Xcode bundle (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash at some point.. not sure if it's moved again) that will find the dSyms anywhere that's indexed in Finder (your Desktop/Documents folders). It's very touchy about the Xcarchive being from the exact same machine that did the build, and I believe the UID it checks may even include a compile timestamp. Depending on how important the log is, you can mess around with atos and a dSym and .app pair that should be the same build. The easiest sanity test I've found to see if your symbolication is gibberish or meaningful is check for main at the bottom of one of the threads, usually the second-to-last or last entry in thread 0. Selfish brag that offers no help to you guys: My company's proprietary deployment server keeps the Xcarchive for each of our builds, including QA builds, indexed by Git commit hash and app ID. We had some other in house logging tools that use Bonjour. I extended both so now any time a developer or tester in house gets a crash, all iOS guys in the shop get a Growl notification containing the fully symbolicated log when the app is relaunched. The main lesson I learned is to hang onto your Xcarchives for as long as you could possibly care about logs from said builds.
|
# ? Dec 14, 2012 04:26 |
|
Doh004 posted:Yay! Our lawyers ended up saying that we were okay. Probably had to do with IP or copyrighted content or something or another hell if I know I'm not a lawyer. US Export laws. Whats likely is that your app isn't actualy providing any encryption. Its just using the encryption built into the phone. Thats already covered by Apples export permissions. Ie when you use a UIWebView or whatever to access a https address, YOUR APP isn't doing the encryption, THEIR OS is however. If however, you compiled in a PGP module or whatever ,that would be different and need aproval from the spooks. duck monster fucked around with this message at 09:38 on Dec 14, 2012 |
# ? Dec 14, 2012 09:35 |
|
ManicJason posted:If you hang onto the Xcarchives, you can symbolicate them with the contained dSym file. There's a script called symbolicatecrash hiding somewhere in the Xcode bundle (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash at some point.. not sure if it's moved again) that will find the dSyms anywhere that's indexed in Finder (your Desktop/Documents folders). We have all the dSYMs of our executables. The question was about system libraries There's a huge difference between a stack trace that has our exec as the last frame and the rest just saying libc++ and Foundation and the one that shows it was an abort from an unhandled exception. But in order to symbolicate the libc++ / Foundation logs you need to have had connected a device to the machine with XCode and have that device in developer mode. Then you'll copy over the actual copies of libc++ that's on that device. I'd thought that someone would have just done that for all possible versions by now.
|
# ? Dec 14, 2012 14:55 |
|
duck monster posted:US Export laws. That is correct. What confused me was a bunch of conflicting sources online saying one thing and another saying the complete opposite.
|
# ? Dec 14, 2012 18:32 |
|
Ugh. This is kind of vague, but I got a crash report saying that there was a call made to [UIButton parent:], which, of course, doesn't exist. I've searched my code and can't find a single call to -parent: on anything. The crash report itself is basically useless, as it's coming from Flurry and is literally just the line "NSInvalidArgumentException: -[UIButton parent]: unrecognized selector sent to instance 0x1d5288a0". Could this be an iOS bug? Also, can anyone give recommendations for a decent crash reporting service?
|
# ? Dec 16, 2012 21:57 |
|
Does anyone have experience writing apps that use or rely on external hardware? One of my friends wants me to write a simple POS-type app customized for his shop (and, yes, he will be paying me, and he knows this), and one thing it will need to do is print receipts. I've checked and it looks like the best thing to do is use a Wi-Fi enabled thermal printer from Epson which is supported by their iOS SDK. If I don't want to go the Enterprise Developer Account route and/or sell it on the App Store, am I going to have to send a printer off to Apple for the review process, even though the SDK is already created? That's obviously going to be a deal-breaker, in which case I'll just do the whole thing for Android instead, but both I and my friend would prefer to use an iPad. I've sent an email to the App Review team asking them about it, but I was just curious if anyone here had first-hand experience with such a situation.
|
# ? Dec 16, 2012 23:52 |
|
PT6A posted:Does anyone have experience writing apps that use or rely on external hardware? One of my friends wants me to write a simple POS-type app customized for his shop (and, yes, he will be paying me, and he knows this), and one thing it will need to do is print receipts. I've checked and it looks like the best thing to do is use a Wi-Fi enabled thermal printer from Epson which is supported by their iOS SDK. If I don't want to go the Enterprise Developer Account route and/or sell it on the App Store, am I going to have to send a printer off to Apple for the review process, even though the SDK is already created? That's obviously going to be a deal-breaker, in which case I'll just do the whole thing for Android instead, but both I and my friend would prefer to use an iPad. What? No, you just jailbreak the iPad and install the app that way.
|
# ? Dec 17, 2012 00:15 |
|
If you're concerned that they won't accept your app because they can't actually test printing, don't worry. You can just shoot a video of your app printing to your server and attach that to the app submission. I had to do this for an app that just wireless transmits device motion data. It was rejected the first time because the reviewers went 'huh?' and sent me a note. I resubmitted with the demo video and it went through without any problems.
|
# ? Dec 17, 2012 00:26 |
|
PT6A posted:Does anyone have experience writing apps that use or rely on external hardware? One of my friends wants me to write a simple POS-type app customized for his shop (and, yes, he will be paying me, and he knows this), and one thing it will need to do is print receipts. I've checked and it looks like the best thing to do is use a Wi-Fi enabled thermal printer from Epson which is supported by their iOS SDK. If I don't want to go the Enterprise Developer Account route and/or sell it on the App Store, am I going to have to send a printer off to Apple for the review process, even though the SDK is already created? That's obviously going to be a deal-breaker, in which case I'll just do the whole thing for Android instead, but both I and my friend would prefer to use an iPad. If memory serves, Apple wanted someone developing an app for a specific piece of hardware to send them a link to a video of the app working with the hardware. edit: beaten
|
# ? Dec 17, 2012 00:28 |
|
Surely the review process is only required if he wants to submit it to Apple? And likewise with the hardware SDK approval?PT6A posted:If I don't want to go the Enterprise Developer Account route and/or sell it on the App Store... With a regular developer account you can build and deploy to 100 devices without Apple ever seeing your code. You would need to renew the account and re-deploy the app to all devices once a year, but the same caveat applies with the Enterprise account too. The Enterprise account allows you to sign your own apps that will (at a technical level) run on any iOS device in the world, but there are legal terms involved to limit your distribution within the company - this is to stop people bypassing the App Store and selling applications in a separate ecosystem. I don't know any of the details of the Epson SDK, but I would suspect it will work with a regular developer account and private deployment (limited by the number of devices). I always thought the hardware approval process was to allow hardware manufacturers to put the "Works with iPhone" logo on the box. And, as above, if you're attempting to submit an app to the public App Store that depends on other hardware Apple would need to see it working before approving it.
|
# ? Dec 17, 2012 00:50 |
|
I thought using the regular account to basically deploy a production app as a "debugging" copy was verboten. Yeah, I know it's basically a victimless crime and no one will get caught, but as it is technically my business and I am still selling other apps on the App Store already, I'd like to keep things above board. Same reason I wouldn't jailbreak. I'm more than willing to send a video of the printing working, when the time is right, so it's good to know that's an option. I'm still considering Android just because the cost of the hardware is lower, but it's good to know there's options for iOS too.
|
# ? Dec 17, 2012 01:12 |
|
Anybody have experience with Airplay? I'm curious how to output different content to the second display than you display on the iOS device itself.
|
# ? Dec 17, 2012 07:03 |
|
Small White Dragon posted:Anybody have experience with Airplay? In AirPlay mirroring mode, the AirPlay device just shows up as another UIScreen with it's own window. You create a separate view for it just like you do for the VGA/HDMI physical adapters. In fact it's impossible to tell the difference between a physically-connected secondary screen and AirPlay. Here is a blog about it, or the Apple External Display test project PT6A posted:I thought using the regular account to basically deploy a production app as a "debugging" copy was verboten. Yeah, I know it's basically a victimless crime and no one will get caught, but as it is technically my business and I am still selling other apps on the App Store already, I'd like to keep things above board. Same reason I wouldn't jailbreak. Nope, you are perfectly fine doing this. It's basically how people prototype / beta apps for other people anyway, then either transferring the app or the dev account to another entity. You can even create a dev account just to mess around without jailbreaking. You just can't sell or give away your dev slots for not-legit development activity and you can't sell the app as a packaged app outside the app store process. Slightly related - for apps that require logins to a local server (basically a companion app to an on-site system), how have you dealt with approval? Will the app store review team use a VPN login to test it? Will they accept a VM image? or do I have to build-in a demo mode? I can do whatever is required but obviously it will be way easier if they are willing to just login to my VPN. On a separate note, I've started looking into NSIncrementalStore and holy poo poo... this looks like what I've been waiting for. I was starting to think that it gives a clean way to hook into CoreData such that it is easy to cache data locally, but transparently fault in data from whatever random (often crappy) API you need to pull from. It turns out the NSHipster dude already wrote a library that does just that. Also this dude at sealed abstract described my problems with RestKit, et al and why every project seems to be a bunch of slightly custom crap to adapt the remote API to the local store, deal with caching, demand-loading, etc; and how every minor API change ends up being a huge PITA. Anyway I plan on doing some test projects with AFIncrementalStore to see if it pans out. I'll report back later. Simulated fucked around with this message at 07:38 on Dec 17, 2012 |
# ? Dec 17, 2012 07:32 |
|
PT6A posted:I thought using the regular account to basically deploy a production app as a "debugging" copy was verboten. Yeah, I know it's basically a victimless crime and no one will get caught, but as it is technically my business and I am still selling other apps on the App Store already, I'd like to keep things above board. Same reason I wouldn't jailbreak. You can create a release build rather than debug with the regular account, but if the morality/legality of this is your sticking point rather than the technical issues then I think the only option is the Enterprise account. If you're sending a build to Apple then all they'll do is verify it, sign it and put it on the App Store (where I guess you don't want this publicly available). We often buy an Enterprise account on behalf of our customers (or get them to do it) to then create the app and deploy it within their company, but this is because we deal with clients wanting a wider distribution than the 100 device limit allows. As I mentioned above, these apps still need a new distribution profile creating each year and redeploying to all devices.
|
# ? Dec 17, 2012 07:49 |
|
Has anybody found an effective way of displaying text and pictures in a popup? We have a homebrew solution in place, but it's a bit hacky. I'm wondering if there's an already existing solution out there. The idea is that I might want to display any kind of content in it, anywhere from a coupon to a company's logo with a link to their site with a sales pitch in there. It should ideally be able to resize itself to the content, but worst case scenario I can do it by hand.
|
# ? Dec 17, 2012 16:08 |
|
pokeyman posted:Your Life Gets Better When You Read and Understand Hey pokey - some of these links are dead now. Revised:
|
# ? Dec 17, 2012 16:26 |
|
DreadCthulhu posted:Has anybody found an effective way of displaying text and pictures in a popup? We have a homebrew solution in place, but it's a bit hacky. I'm wondering if there's an already existing solution out there. The idea is that I might want to display any kind of content in it, anywhere from a coupon to a company's logo with a link to their site with a sales pitch in there. Use a UIPopoverController? Resizable, fillable with any type of view content, and I believe has some options for border styles and colors as of iOS 6.
|
# ? Dec 17, 2012 16:28 |
|
So, I have a project that, while running, slowly eats up more and more memory. I've run alloc and leaks on it, and the living memory allocations it shows aren't anywhere near what my program is using in the activity monitor. Is there some other place I should be checking?
|
# ? Dec 17, 2012 22:38 |
|
lord funk posted:Use a UIPopoverController? Resizable, fillable with any type of view content, and I believe has some options for border styles and colors as of iOS 6. That's awesome, I really need to master that controller, it seems ridiculously useful, especially when trying to cluster multiple functions into one button. Right now for example we have 3 separate buttons for "sharing app with friends" when in reality we only need 1 and have the popover let you choose if you want email, facebook, sms or contact book etc. Regarding UIPopoverController, do you think I should be able to achieve a semi-transparent black glass-like "modal" effect with it, somewhat along the lines of: http://www.cocoacontrols.com/platforms/ios/controls/svprogresshud http://www.cocoacontrols.com/platforms/ios/controls/tapku-alerts-with-images
|
# ? Dec 17, 2012 23:09 |
|
lord funk posted:Hey pokey - some of these links are dead now. Revised: Fixed, thanks!
|
# ? Dec 17, 2012 23:27 |
|
DreadCthulhu posted:Regarding UIPopoverController, do you think I should be able to achieve a semi-transparent black glass-like "modal" effect with it, somewhat along the lines of: Might want to look into making a subclass of the UIPopoverBackgroundView abstract class and setting your UIPopoverController's popoverBackgroundViewClass property to that class. See: http://developer.apple.com/library/...rBackgroundView
|
# ? Dec 18, 2012 00:31 |
|
lord funk posted:Might want to look into making a subclass of the UIPopoverBackgroundView abstract class and setting your UIPopoverController's popoverBackgroundViewClass property to that class. Will do, thanks for the lead! Unit-testing question: any way of running unit tests from Cmd+U shortcut when I'm on the final product target and not the Unit Tests target? It's a pain in the rear end to have to switch targets just so I can run unit tests for it (the UTs are under a different target, which I think is the Apple-sanctioned way. I could be wrong). Also, has anybody out there created something along the lines of Ruby's Guard to monitor the build for changes and run UTs automatically only on the files that were modified? I'm really spoiled by Rails' BDD cycle. Edit: just ran into this cornucopia of testing tools.. DreadCthulhu fucked around with this message at 06:26 on Dec 18, 2012 |
# ? Dec 18, 2012 05:56 |
|
Doc Block posted:Ugh. This is kind of vague, but I got a crash report saying that there was a call made to [UIButton parent:], which, of course, doesn't exist. This happens when -parent: or .parent was called on some other class, perhaps in code you didn't write, but the receiver has been dealloc'd. The address of the receiver now contains a UIButton. Try running with NSZombiesEnabled and it might be able to tell you what deallocated instance should be receiving the message. For crash reporting look into PLCrashReporter and/or HockeyApp
|
# ? Dec 18, 2012 06:32 |
|
|
# ? Jun 5, 2024 03:13 |
|
A grep search shows that the word "parent" isn't in my code or any of the libraries I'm using. Also, I am completely unable to reproduce this bug, I just saw it in the Flurry crash logs (which are terrible and nearly useless).
|
# ? Dec 18, 2012 15:02 |