I would like to extract some information from the App Store receipt in a tvOS app. I thought I could use the Security framework, but the following two header files are missing:
#import <Security/SecAsn1Types.h>
#import <Security/SecAsn1Templates.h>
In the OS X SDK these header files exist. Was ASN.1 support removed from the public tvOS SDK? Do I have to use OpenSSL to handle the receipt?
Security Framework is not included in Apple tvOS framework hence you cannot see this library and imports.
Please follow this link for more clarification about listing of frameworks.
Apple frameworks listing
Also for the discussion forum guys already mentioned that in case you need to use the secure storage you can only do it using and CloudKit framework only.
Discussion forum for apple local storage issue
Related
I'm developing an application in swift 4. In it, I want to upload multiple images to FTP server. I have tried to do with https://github.com/Constantine-Fry/rebekka but could not build getting error saying
Xcode 9 does not support building or migrating Swift 2.x targets.
Also tried with https://gist.github.com/Nirma/fb9991be776107d17fdcd6ed2aa02876 . But some of the APIs are deprecated. Apple sample project is in objective C. Can anybody please help me to go forward in this case?
I've implemented FilesProvider library to abstract FTP/FTPS, WebDAV, Dropbox and OneDrive and providing a high level, FileManager like API to deal with these.
You can use FilesProvider library to deal with FTP. It doesn't use deprecated CFWriteStreamCreateWithFTPURL API and implements FTP protocol from scratch.
Please read Readme before using. You can see a sample implementation for iOS here.
I am new to iOS Development and am now venturing into adding different features into my Apps and now would like to be able to implement Push Notifications into iOS5 apps with Xcode 4.2.
I have tried my hardest to understand the iPhone Developer instructions regarding Push Notifications, but found that the easiest method (according to many sources around the internet) would be to use Urban Airship!
I have gone over this for quite a number of days now and tried and tried my hardest to be able to complete the steps required in the Set Up A New Application part of the document.
It states:
The core library requires your application to link against the following Frameworks (sample UIs have additional linking requirements):
libUAirship-.a
CFNetwork.framework
CoreGraphics.framework
etc, etc, etc
http://www.youtube.com/watch?v=EwqM4wfaYNU
The link just above is a YouTube video of what steps I took to follow these instructions and it's really starting to get to me. I would like someone to be able to provide me with some assistance and explain what I am doing wrong, and how to better understand the way you link against the following Frameworks because I have tried my hardest, and never managed to understand it.
Any help would be GREATLY appreciated from anyone.
You are trying to #import a static library in your code. The .a file is a library, not an include file. You just need to add them to your project and then include the .h file in your project.
Search Google for adding static library to xcode, or similar. For example, A quick Google search found this
Does anyone know if I use the Twitter Framework will my app contain encryption?
Frameworks are not included in your app. They are in the device's firmware and are not copied into your app. So even if an iOS framework had encryption in it, it is not included in your app, you just make function or method calls to it, and are not distributing encryption software.
I think no one really answered your question directly; they were merely inferring your intent. The Twitter framework docs only mention HTTP for API requests. The Twitter docs on this say that SSL is optional though encouraged. So I'd imagine that iOS is handling user authentication via SSL in the background, but that all API requests by developers are done over HTTP using oauth. This is only speculation -- to verify you'd want to run a packet sniffer on your local network and check out the transactions when you call the framework methods.
Regarding the export controls mentioned in other comments here, I'd advise you to look at the iTunes Connect FAQ dealing with export controls within the Dev Center. Apple makes it very clear in that document that using encryption integrated into the iOS frameworks still requires you to apply for an ERN with the US Dept. of Commerce. (I won't quote it due to NDA) The other comments currently on this page are simply wishful thinking. I'm sure some developers were confused (and it is confusing), or perhaps have outright lied and have apps in the store which are violating US law. IANAL; I'll leave that choice up to you.
Having said that, there have been some exemptions added to these requirements, as outlined here.
do you think it would be possible (legally) to use the iAd JS framework (the one that is provided for the developers for creating the ads) to create the whole iOS web application itself?
I've tried reading some legalese (iAd Network Contract) but it doesn't mention about in what ways I'm allowed to use their JavaScript framework.
It has so many pre-implemented controls and UI eyecandy that it would be a shame if the framework usage was restricted to implementing advertising only :)
When you download and install the iAd JS Developer SDK, you are presented with a license agreement as part of the installer (look for the Software License Agreement step).
I'm not sure if I'm allowed to post the text of that agreement here, but read section 2.1 carefully. It explicitly states that iAd JS is only for use in crafting rich media ads for the iAd platform, and that you are not allowed to use or distribute the framework for any other purpose. This seems to indicate that, for now, you can only use this for designing iAds.
You should file a bug at https://bugreport.apple.com/ to let Apple know that you're interested in using iAd JS outside of the iAd network.
I think if Apple wanted to restrict its usage it probably would have said so in the license agreement. They have released a framework called PastryKit which might be worth taking a look at; the internals may even be quite similar to iAd.js.
I have recently started to develop applications for iPhone with MonoTouch and have to store user names and passwords on the phone. I want to use the keychain for this but can't find anything in the MonoTouch documentation about it. Is it possible to use it directly with MonoTouch or will I have to write some C++/C/Objective-C code that uses the keychain and export it to MonoTouch?
According to the current documentation, there is no bindings for the keychain.
Your solutions are:
post a request to Novell for the bindings.
write a .NET wrapper around the KeyChain function by accessing them through P/Invoke. The following page gives you some hint on how to do it. If you need some direction on how to provide an object-oriented wrapper for KeyChain, you can take some inspiration from the EMKeyChain library.