xcode

NSSplitViewController/NSSplitViewItem support in XIBs

痞子三分冷 提交于 2021-01-27 14:24:19
问题 Is there support for NSSplitViewController/NSSplitViewItem for XIBs? I see only NSSplitView Can I just drag&drop NSViewController and subclass it as NSSplitViewController? How do I add NSSplitViewItem that it mostly works out of the box? I can easily see support for them in storyboards. 回答1: The split view controller is not part of the object library for xib files. The easiest way to use split view controllers is to use storyboards. If you are unwilling to use storyboards, your best option is

The bundle at 'my_app.app/ResearchKit/ResearchKit/Info.plist' does not contain a bundle executable

我们两清 提交于 2021-01-27 13:11:49
问题 Update XCode Version: 8.2 iOS Target: 9 Hopefully some can point out to me that this is not a bug. Very simply I pulled the latest stable version of researckKit, and I dropped the .xcodeproj file into my new iOS project, added the embedded binary. I created a couple steps that look fine in the simulator. My app builds fine and even the archive validates OK. Upload to app store is fine, but then I am receiving emails from the app store with 6 entries all look about the same, for 6 different

Trigger button to change text in UITextView in swift3 xcode 8 ios 10

青春壹個敷衍的年華 提交于 2021-01-27 12:23:36
问题 I'm new to xcode and am stuck on this problem, because after trying several sample code examples online, nothing works. Could you help me figure out what the problem is? My code below: import UIKit class ViewController: UIViewController { @IBOutlet weak var Writingboard: UITextView! @IBOutlet weak var Talkbutton: UIButton! @IBAction func TalkbuttonTapped(_ sender: AnyObject){ Talkbutton.setTitle("Tap to Stop", for: .normal) Writingboard.text="talking" } override func viewDidLoad() { super

RingCentral: Build Failed Task failed with exit code 65: Carthage installation

二次信任 提交于 2021-01-27 12:19:14
问题 I have a project that was build in Xcode9. Now I am updating it to Xcode10. I am using RingCentral iOS SDK. But whenever I update the SDK, it shows this error: I have tried almost all methods for cleaning and building derived data Carthage version = 0.32.0 Xcode version = 10.1 Please help, I am stuck and cannot run the project carthage update --platform iOS *** Fetching ringcentral-swift *** Fetching CryptoSwift *** Fetching objective-c *** Fetching Alamofire *** Fetching ObjectMapper ***

RingCentral: Build Failed Task failed with exit code 65: Carthage installation

試著忘記壹切 提交于 2021-01-27 12:12:12
问题 I have a project that was build in Xcode9. Now I am updating it to Xcode10. I am using RingCentral iOS SDK. But whenever I update the SDK, it shows this error: I have tried almost all methods for cleaning and building derived data Carthage version = 0.32.0 Xcode version = 10.1 Please help, I am stuck and cannot run the project carthage update --platform iOS *** Fetching ringcentral-swift *** Fetching CryptoSwift *** Fetching objective-c *** Fetching Alamofire *** Fetching ObjectMapper ***

How to use boost::multiprecision::float128 in with Xcode

痴心易碎 提交于 2021-01-27 12:11:25
问题 I am trying to use boost::multiprecision::float128 in xCode project. My compiler version is Apple clang version 11.0.0 (clang-1100.0.20.17) Target: x86_64-apple-darwin18.7.0 Thread model: posix I am using boost.1.71.0 I am getting following compile error 'quadmath.h' file not found in float128.hpp extern "C" { #include <quadmath.h> } I saw several threads regarding to this issue https://svn.boost.org/trac10/ticket/8265 19 months ago by John Maddock (clang has no support for float128 and

Xcode Testflight Validate ERROR ITMS-90778 NDEF is disallowed

筅森魡賤 提交于 2021-01-27 12:08:24
问题 I am trying to upload my app to TestFlight, which using CoreNFC (NDEF). Unfortunately, I got the error message on Testflight Validate part in (SDK version 13 and 13.1). I already tried this: Xcode 11 beta can't upload app to TestFlight but it will Lose NDEF function this: https://stackoverflow.com/a/58128365/5588637 Error messages: Invalid entitlement for core nfc framework The sdk version 13.0 and min OS version 13.0 are not compatible for the entitlement 'com. Apple developer nfc.

Swift: Implicit Return Not Compiling?

给你一囗甜甜゛ 提交于 2021-01-27 10:47:34
问题 I was checking out the Swift documentation on implicit returns. Consider this function from the docs: func greeting(for person: String) -> String { "Hello, " + person + "!" } When I copy and paste it into xCode I get an error: "Missing return in a function expected to return 'String' " My swift version is set to 5.0 in build settings. Honestly don't know if I am missing something obvious here, or if there is a problem with my other xCode build settings? Ideas? 来源: https://stackoverflow.com

Swift: Implicit Return Not Compiling?

自作多情 提交于 2021-01-27 10:47:15
问题 I was checking out the Swift documentation on implicit returns. Consider this function from the docs: func greeting(for person: String) -> String { "Hello, " + person + "!" } When I copy and paste it into xCode I get an error: "Missing return in a function expected to return 'String' " My swift version is set to 5.0 in build settings. Honestly don't know if I am missing something obvious here, or if there is a problem with my other xCode build settings? Ideas? 来源: https://stackoverflow.com

dSYM file when Archiving is missing debug info

ⅰ亾dé卋堺 提交于 2021-01-27 10:41:17
问题 I have a workspace with two project files in it. One contains my app code (APP), the other builds a static library (Pods) that is linked into the APP project. The dSYM being generated when selecting Product->Archive contains only the debug info for the APP project. If I build by selecting Product->Build For->Archiving/ Xcode generates a dSYM that contains all required debug info. According to the following answer this was a bug in Xcode and is now fixed in version >=4.6. https://stackoverflow