itunes

Trackable links to my app in the App Store

泪湿孤枕 提交于 2019-12-30 05:19:31
问题 I have an iPhone application which I would like to promote across a few websites and of course I would like track the number of installations received from leads who came from these wesites. I'm wondering whether it is possible to have a different iTunes links which I will share with the different websites, and then, somehow track these stats or be able to track different sources by HTTP referrer or maybe be able to pass any valuable (in sense of referred source) somewhere in itunes url and

Xcode error when running on device: “Could not allocate a resource”

徘徊边缘 提交于 2019-12-30 04:34:10
问题 I'm getting the error "Could not allocate a resource" when I try to run on any of my devices. I've seen this as a possible fix: sudo rm -rf /var/db/lockdown/ I've tried that and restarted my machine a handful of times, but no luck. I also tried changing USB ports. I've reinstalled Xcode as well after uninstalling with AppCleaner. In addition to the error, whenever I connect a device it asks me "Trust This Computer?" This is occurring on an iPhone 5 and iPhone 6+ with lightning, as well as an

UIFileSharingEnabled has no effect

守給你的承諾、 提交于 2019-12-29 06:25:16
问题 I've added UIFileSharingEnabled to the .plist. Per suggestions, I have: removed the app and redeployed it several times attempted to disconnect after redeploying I have not been able to get the app visible in the File Sharing section in iTunes. On another app, this works flawlessly. The app where it doesn't work has a bit exotic internals (an easily portable game; as such, it has its own mainloop, it doesn't have a main nib, ...). The app where it does work is pretty much standard deal. Also,

How can I make my ad hoc iPhone application's icon show up in iTunes?

守給你的承諾、 提交于 2019-12-28 07:39:11
问题 I've got an iPhone app with icon file Icon.png. This icon shows up properly when the app is on the phone itself, but it doesn't show up in the applications pane in iTunes. What do I need to do to get it to show up properly? 回答1: The cleanest way to do this is described in the official Apple documentation, in a section called Publishing Applications for Testing. Below is the exact instructions given to you on that page: The iTunes artwork your testers see should be your application’s icon.

Is there a way since (iOS 7's release) to get the UDID without using iTunes on a PC/Mac?

人盡茶涼 提交于 2019-12-27 16:39:11
问题 I'm developing an app for my company and we're going through the process of slowly letting people into the "beta" by adding their iPads to the company's iOS Dev Center accounts. From there we do an ad hoc build for local Intranet distribution. At my last gig, I would direct people to one of those "find my UDID for me" apps, then get them to send me the UDID it found. iOS 7 has cut this off - those apps are all gone now and if you do still have one, it returns some GUID that has nothing to do

Get JSON file from itunes lookup using javascript

≯℡__Kan透↙ 提交于 2019-12-25 02:37:29
问题 I'm trying to get the info inside the JSON file that itunes lookup returns, but my code doesn't work. If I save file that this url returns, which would be a .js file, and upload it to my server and pass in the url of that file it works, but when I'm trying to read file directly from itunes it doesn't. Please help me out if you have any clues. Thanks <script type="text/javascript"> $.getJSON( "http://itunes.apple.com/lookup?id=600172326", function(data) { var icon = document.getElementById(

How to get all tracks from an album using iTunes.h/Scripting Bridge

人走茶凉 提交于 2019-12-24 13:26:27
问题 I'd like to get all tracks from an album on iTunes using iTunes.h . Right now I get the data of the current track by: NSInteger trackID = iTunes.currentTrack.databaseID; NSString *name = iTunes.currentTrack.name; And the name of the album by: NSString *trackAlbum = iTunes.currentTrack.album; But know I don't know how to get all the tracks that are in the same album as the current track. Any ideas? Thanks 回答1: The iTunes API is poorly written. You have to filter the array with a predicate.

How to manipulate “data” objects in AppleScript

ⅰ亾dé卋堺 提交于 2019-12-24 10:35:48
问题 I'm working with iTunes via AppleScript. The artwork element of a track contains image data (or raw data , which appears in practice to return the same thing), which can be retrieved and, say, directly written to a file. (It's an e.g. PNG bytestream.) But I don't know how to do anything with this thing besides write it to a file. I'd like to ask it how many bytes it contains, or even rummage through it (though the latter may well be out of scope for AppleScript). In Script Debugger, it looks

iTunes RSS Feed always returns duration=30000

青春壹個敷衍的年華 提交于 2019-12-24 07:15:23
问题 I'm using the following link in order to get top 10 songs from iTunes for USA: https://itunes.apple.com/us/rss/topsongs/limit=10/explicit=true/json I need to have every song's duration, but I always receive value 30000 for duration: "im:duration": { "label": "30000" } What does it mean, and is there a way to get the right duration value? Thanks. 回答1: I used this online time calculator and the sum of all songs's duration is 37.97 minutes; Checking a song sample Setting the World on Fire (with

How to select speakers for iTunes from applescript

若如初见. 提交于 2019-12-24 04:46:08
问题 I would like to be able to select output sound device for iTunes from a script (any programming language would be ok in fact). For the moment I was able to use UI element scripting to get up to clicking on the button which gives the menu to select the speakers: tell application "System Events" tell window "iTunes" of process "iTunes" set chbtn to first UI element whose help is "Choose which speakers to use." tell chbtn click -- tell menu 1 to get every menu item end tell end tell end tell