xcode9.3

How to disable “Save To Files” in iOS 11?

∥☆過路亽.° 提交于 2021-02-07 14:20:36
问题 I have an iOS app which creates a PDF and is shared using the UIActivityViewController using the default share functionality. I had to block a few sharing facilities like Vimeo, Facebook, Twillio, etc. and also the file should not be stored on the device. With the new iOS 11 version, Apple has provided SaveToFiles option with the default share functionality. I tried using excludedActivityTypes, and with blocking the "com.apple.CloudDocsUI.AddToiCloudDrive" option, but no success. Can anyone

How To Increase the height of MDCTextInputControllerOutlinedTextArea

北慕城南 提交于 2020-03-23 05:14:27
问题 I have assigned a class named MDCMultilineTextField for Uiview from the storyboard. This class is used for Multiline TextView. My Uiview height is 400(not fix) but my UiView border is not same as height, Please verify my code and you can see screenshot below. import MaterialComponents @IBOutlet var viewTextView: MDCMultilineTextField! @IBOutlet var btnDone: UIButton! var notes="" var dismissView: ((_ text:String) -> Void)? var desc: MDCTextInputControllerOutlinedTextArea? override func

Expected method to read array element not found on object of type 'id<ProtocolName>'

不羁的心 提交于 2020-01-16 07:49:07
问题 I want to update XCode version. But while updating I receive several compiler errors. The are the same as this: id<MyProtocol> objectToDelete = group[index.unsignedIntegerValue]; Expected method to read array element not found on object of type 'id' id<MyProtocol> _Nonnull group @protocol MyProtocol <NSObject> @property (copy, nonatomic) NSString* name; @property (copy, nonatomic) NSString* id; @property (copy, nonatomic) NSString* internalType; @property (strong, nonatomic) NSMutableArray<id

Xamarin.UITest 2.2.4 start session failed on the first test

本小妞迷上赌 提交于 2020-01-16 04:06:32
问题 Since my macOS made me update to XCode 9.3 I had to upgrade Xamarin.UITest from 2.2.2 to 2.2.4. The problem is that when I run all my tests, every single time the first one fails with the error attached. I think is not a test issue because all tests run correctly on a macOS with XCode 9.2 and Xamarin.UITest 2.2.2. Also if I delete that test, then the next one that is going to be the first one fails with the same error. Can anyone help me, please? Thank you so much in advance! 1) SetUp Error :

Xamarin.UITest 2.2.4 start session failed on the first test

烂漫一生 提交于 2020-01-16 04:06:29
问题 Since my macOS made me update to XCode 9.3 I had to upgrade Xamarin.UITest from 2.2.2 to 2.2.4. The problem is that when I run all my tests, every single time the first one fails with the error attached. I think is not a test issue because all tests run correctly on a macOS with XCode 9.2 and Xamarin.UITest 2.2.2. Also if I delete that test, then the next one that is going to be the first one fails with the same error. Can anyone help me, please? Thank you so much in advance! 1) SetUp Error :

Error: “xcrun: error: unable to find utility ”docsetutil“, not a developer tool or in PATH” while creating documentation

巧了我就是萌 提交于 2020-01-15 10:31:13
问题 I am using appledoc to generate Apple documentation for my framework. It seems that after upgrading to Xcode 9.3 it has stopped working, giving me the following error: xcrun: error: unable to find utility "docsetutil", not a developer tool or in PATH I have looked at the known issue: https://github.com/tomaz/appledoc/issues/628 Which states that Xcode doesn't have docutils any more. I have also tried with Xcode 9.4.1 and it's still not working. Is there any solution for this? 回答1: According

Xcode not supported for iOS 11.3 by Xcode 9.2 needed 9.3

家住魔仙堡 提交于 2019-12-20 08:24:19
问题 Apparently, with the latest IOS update, my version of Xcode could not build due to the following error. Could not locate device support files. This iPhone 7 Plus (Model 1661, 1784, 1785, 1786) is running iOS 11.3 (15E216), which may not be supported by this version of Xcode. Tried to install Xcode 9.3 via this link https://developer.apple.com/download/more/. But as it turns out, my Mac OS version sees the update as an incompatible version. Running on Sierra 10.12.6 回答1: Another option is to

Status bar could not find cached time string image. Rendering in-process

天大地大妈咪最大 提交于 2019-12-20 08:21:05
问题 I get the above runtime message after I upgraded to Swift4.1 and Xcode 9.3. Before the upgrade I did not have this message in my console window. Status bar could not find cached time string image. Rendering in-process. comes up every few minutes as long as I have the App running. It sees to me there is no negative side effect, my App is running, as usual, I have not seen any problems. I use the standard Status Bar, have not changed to modify it in any way. Question 1: Would there be a problem

Xcode build upload Error: Outbound access to TCP port 443 and unable to find a MZContentProviderUpload for package. (1041)

只谈情不闲聊 提交于 2019-12-13 04:14:10
问题 Xcode upload error: The Following issue occurred while distributing your application. 回答1: I faced same issue, in macOS Mojave (10.14.2) with Xcode 10.1 It seems that Xcode application need to allow for outbound connection Steps to resolve System Preference -> Security & privacy -> Firewall Click on Lock icon & enter admin's credential to unlock it. Click firewall options Check "Automatically allow built-in software to receive incoming connection" Click "+" icon & add Xcode to it. (Make sure

Unable to see public protocol from framework after converting to Swift 4.1

左心房为你撑大大i 提交于 2019-12-11 05:07:21
问题 I have framework in Swift 2.3 which I have successfully converted to Swift 3.3 and it works as expected on Xcode 8.3.3. I can even see the public protocols in it. After I converted the project to Swift 4.1 and built it, I am unable to see the public protocols in the header file eg: public class CommunicationManager: NSObject { public static var sharedInstance = CommunicationManager() } Communication manager is not visible in Swift4 framework header files. I tried clearing derived data too and