苹果

How do I upload files using http/ftp to iphone/ipad? (Eg. ifile, goodreader)

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there any good advice on uploading files to the device? I've seen many apps create a http server on 80 or 8080 to upload files. Does that mean I have to implement a server too? Are there any 3rd-party libraries? (Preferably open-source and non-GPL) EDIT: I am going to upgrade files in the app for specific devices in a corporate environment, so the ipad pulling files from a central server is also an alternative. But I would have to send messages to these ipads to tell them to fetch those files. 回答1: I assume what you want is a kind of

Why does a direct cast fail but the “as” operator succeed when testing a constrained generic type?

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: ``I've run across an interesting curiosity when compiling some C# code that uses generics with type constraints. I've written a quick test case for illustration. I'm using .NET 4.0 with Visual Studio 2010. namespace TestCast { public class Fruit { } public class Apple : Fruit { } public static class Test { public static void TestFruit<FruitType>(FruitType fruit) where FruitType : Fruit { if (fruit is Apple) { Apple apple = (Apple)fruit; } } } } The cast to Apple fails with the error: "Cannot convert type 'FruitType' to 'TestCast.Apple'".

Xcode Organizer - cannot refresh Provisioning Profiles list [closed]

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Xcode 4.3.3 Everything used to work fine before, but since couple of months ago, I can no longer refresh provisioning profiles through Organizer. The problem: I open organizer Click Provisioning Profiles at the top Then click "Refresh" button at the bottom right" It displays "Downloading development certificates..." and prompts to login. After successful login, it displays "Fetching team list..." then shows the error: "You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further

AppStore - App status is ready for sale, but not in app store

匿名 (未验证) 提交于 2019-12-03 02:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Status of app ready for sale still 9 June.. Like in there https://discussions.apple.com/message/8147141 App link : https://itunes.apple.com/us/app/yupek-mebel/id884771427?ls=1&mt=8 回答1: After your app status changes to 'Ready for Sale' you will get official mail from Apple. The mail itself states that it might take 24 hours before your App is available on AppStore. If it takes more than days then contact Apple. Refer below screenshot. 回答2: You have to go to the "Pricing" menu. Even if the availability date is in the past, sometimes you have

iOS 9 enterprise app verify failed

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Apple change the way enterprise app verified on iOS 9, but when I verify our app in "Settings - General - Profiles", I got this I've check the log: Oct 15 21:32:21 Nix-iPhone online-auth-agent[216] <Error>: Caller does not have required entitlement 'com.apple.private.mis.trust.set' Oct 15 21:32:21 Nix-iPhone online-auth-agent[216] <Error>: SecTrustEvaluate [leaf AnchorTrusted] Oct 15 21:32:31 Nix-iPhone online-auth-agent[216] <Notice>: Server returned no data Oct 15 21:32:31 Nix-iPhone online-auth-agent[216] <Notice>: Could not complete

WARNING ITMS-90080: \&quot;The executable &#039;Payload/myapp.app/Frameworks/some-framework.framework&#039; is not a Position Independent Executable

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have previously been able to submit my application without issue. The only part of my workflow that changed was the use of Sourcetree. After pulling updates to the following frameworks, I receive this warning when submitting to the iOS App Store. I also receive an email that contains: Non-PIE Binary - The executable 'Payload/myapp.app/Frameworks/Alamofire.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 -

“Couldn’t communicate with a helper application” on 10.10

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm suddenly getting this error on Yosemite: ***storageTaskManagerExistsWithIdentifier:withIdentifier failed: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.nsurlstorage-cache was invalidated.) UserInfo=0x6000000621c0 {NSDebugDescription=The connection to service named com.apple.nsurlstorage-cache was invalidated.}; The app was working perfectly on Mavericks. Any ideas what might be going on? (I don't even have a clue where too look at... Sure, I have a

Did Apple remove the 'git gui' command in XCode 4.5 command line tools?

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: After updating to XCode 4.5 and installing the developer tools I can no longer run the 'git gui' command from the command line. It says: $ git gui git : 'gui' is not a git command . See 'git --help' . I'm running this version: $ git -- version git version 1.7 . 10.2 ( Apple Git - 33 ) Searching the git docs (http://git-scm.com/docs/git-gui) shows 'git gui' should be available, and hasn't changed since version 1.7.7. So did this Apple version of git remove this command? I use it all the time! 回答1: Apple did indeed remove the 'git

Updating live App ID for Push notifications

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an app in the App Store which has a wildcard App ID. I want to add push notifications to it, but cannot as we have a wildcard App ID. This is the error I get: Only explicit App IDs can be used to access the Apple Push Notification service. Please use an existing App ID with a specific Bundle Identifier or create a new one. Can I create a new App ID for my app that is live in the store? Won't that cause issues? I'm confused as to how I can add push at this stage? [EDIT] Can I setup a new one using the same App ID, but use a new bundle

Apple Multiple Push Notifications not visible in Notifications Tray

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I basically want to make multiple push notifications in the same application visible in the notification tray in iOS. This scenario works if my data is on while push notification is triggered via APNS, but only the latest one is received in case I am offline and come back after a while. This functionality is affirmed by APNS documentaion. However, this is what worked in WhatsApp: Turned Data Connection OFF Sent some messages to WhatsApp Turned Data Connection ON Saw multiple push notifications received in Apple's Notification Tray