File server for iOS app - iphone

I am working on an iOS app and have been stumped for the last few days trying to figure out how to set up a server to receive and serve data to the app. I have no experience with servers, which is making it difficult. I need to simply be able to upload and download NSData or plists (XML files). I looked into Google App Engine but got stumped.
Could anyone provide some direction? I would truly appreciate it. This is the last major obstacle to completing the app I am working on.
Thank you

I would recommend looking into Amazon S3. It is a simple file server that uses HTTP. Can't get much simpler than that, and does not require you to build anything server side.

Related

DeviceCheck Without A Server

I am trying to implement DeviceCheck for my app. I am new to coding and do not have the resources to build a server to be an intermediary between the client and Apple's servers. Is it possible to just query for and update the DeviceCheck bits just on the device?
I have tried converting some DeviceCheck tutorial's server code to swift but have not had any luck. Can anyone help me wit this?
I used to have this problem too, but I decided to use a $0 non-consumable purchase since that will be recorded in the Apple receipt file. Depending on what you need it for, this could be the simplest way to do something similar to DeviceCheck without adding your own server component

iPhone add music to the app through web downloads. Where to start?

I have an app ready to publish, and it's size is creeping dangerously close to 20mb. As far as I understand, at 20mb it can no longer be downloaded over the air, which I expect has a pretty big impact on the number of downloads (I personally have never went through the trouble of trying to download any app again over Wifi if I cannot get it OTA).
I'm trying to add multiple sound files to my app. Doing so would push it over 20mb. How would I go about downloading music from my website in a secure manner? I think the licencing terms would not let me just put it on the website and let people download it. It has to be somehow authenticated and only let my app download the file.
Is there any kind of hosting service that lets me put a file online and authenticate my app before letting the app download it?
Thank you for any input.
You should understand that any authentication mechanism can be reverse-engineered. However I think your files aren't so important so it will be ok if you just obfuscate URL in your source code.

Website Forms to iphone app

I've been researching for ages and still cannot find an easy solution that perfectly. So i stopped and figured i was going about this project the wrong way. All i need is an easy solution.
My project requires me to make a website that has forms (fields include images, text, urls, colors). When the user submits this form, somehow (THIS IS THE KEY QUESTION), gets sent to Xcode so that it can be used in and iPhone app.
My questions: What is an easy to use program to make a website that can do what i said? How does my website connect to Xcode (supply it with the data)? Is it possible for my app to check for newly submitted info?
Keep in mind that i don't have much coding knowledge as far as websites and i only a little about making iPhone apps (Yes, i have made some but not as advanced as this)
Thank you in advance!
It sounds like you want to build an IOS app that can retrieve user submitted data from the server.
Your form will have to post the data to the server where it is stored in your database. Images will have to be uploaded to the server as well.
You can then build a server-side api that returns data to the IOS device upon request. You can have your IOS app regularly request data from the server, receive the response and store what you need on the device.
There is a lot more to it of course, but from what I can gather from your post, this is what you're looking to do.
The workflow you describe doesn't make any sense.
It starts out easily enough: you have a website that has a form with a submit button. No problem there. Hitting submit likely does a POST to a server somewhere. Again, no problem.
Then you say the form data has to ultimately end up in Xcode. This is where things are really muddled. Xcode is a programming IDE for Mac OS X. I'm not sure how or what it has to do with handling data from a Web form. The two things are, for all intents and purposes, completely independent technologies.
Please describe in much more detail exactly why you think you need to "send data to Xcode". Otherwise, your question, as written, is unanswerable.

Logging into and communicating with a server from an iOS app...help!

Hey everyone. I have a fair amount of experience developing iOS apps, but nothing much with web/server interacting apps. For a project at work, I am making an app that will let you login, and get pictures off from a server that will then be downloaded for display and review on the local device.
I need to get some pointers on the correct approach to take. Are there built-in classes that make doing something like this easy? Once the cogent is downloaded from the server, it will be viewed locally, so all I need is to get a point in the right direction for logging in and communicating with a server…from an iPhone.
Can anybody point me in the right direction?
Me, I'm using ASIHTTPRequest Librayry to communicate / download with Internet.
For example, for an news app I download latest news in JSON (with a PHP script on a web server) and store datas with SQLite. If you need a little explanation of JSON with iPhone, check here (in french, but source codes are in english ^^)
When I need to download an image, I use ASIHTTPRequest and a queue to avoid downloading to much files at the same time.
If you want more information about a step, just say it.
Good Luck !
NURLConnection is your friend, along with its delegate methods.
Don't be lured by the temptation to use the -sendSynchronous method (which, now that I think about it, if you require authentication, you probably can't use anyway).

How would I add code that would update an online "counter" so I know how many times an iPhone app is being opened?

So I have searched for this but not finding anything about it and if I missed it sorry about that. What I am trying to do is see how to go about adding some code to my iphone app that will connect to a php script (if connection available) and update a counter so that I can let my clients know that their app is constantly being used? Also, would apple allow that? Or would my app be denied for doing such a thing? Any help would be great! Thanks in advance.
There's a bit of network plumbing to implement this. It's not hard, but a much easier route would be to integrate something like Flurry analytics into your app. They you can make one function call, and have it track and upload the information to Flurry's servers. You can view those stats and get an idea of how people are using your app.
Note: I don't work for Flurry, but I use (and like) their service.