Mac Cocoa |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Jan 31, 2009 4:23 pm Post subject: |
|
|
mobileorchard.com - 14 Essential Xcode Tips, Tricks and Resources for iPhone Devs
"Xcode is big. Apple’s Xcode Workspace Guide, a terse inventory of its
features, is 116 pages. Xcode’s preference window has 13 sections, each
with a dozen or more items. There are at least 206 keyboard shortcuts. I
started counting menu items but gave up the ghost when I’d topped 300
items before finishing the third section." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sun Jul 26, 2009 7:27 pm Post subject: |
|
|
adc - How to add include path and library path in XCode project
"Under "Search Paths" group I added
Header Search Paths | /usr/include/libxml2/** .
Library Search Paths | /Users/heberlei/Development/amf/builf/Debug
Then for the "Release" version of the application I have a different "Library
Search Paths" pointing to the "Release" version of the library." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Aug 18, 2009 8:42 pm Post subject: |
|
|
xcode-users list - Misspelled methods
"However, gcc can warn if you send an unknown message to an object. Take
a look at: -Wstrict-selector-match -Wundeclared-selector" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Aug 29, 2009 5:02 pm Post subject: |
|
|
MF - Recommended Reading for Snow Leopard
"There's a lot of new knowledge to take in with Snow Leopard; the following
links are ones that either I've personally found helpful, or I believe contain
fairly essential pieces of information for dealing with the new OS. The first
four links are the really important ones."
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Fri Nov 20, 2009 5:40 pm Post subject: |
|
|
Domain of the Bored - Warnings I turn on, and why
"I've started turning on most of Xcode's warning options and one warn-
ing-related build setting in all of my personal projects. I suggest you do
the same." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Mar 19, 2010 12:27 am Post subject: |
|
|
Jeff LaMarche - Xcode Project Template Expansion Macros
"Earlier today, I lazy-tweeted to see if anyone had a definitive list of Xco-
de's project expansion macros. If you open up a project template and poke
around, you'll see both in filenames and in file contents, these all-cap words
surrounded by three underscores like ___PROJECTNAME___. These are re-
placement macros that get replaced with some other value when you create
your project based on that template. ___PROJECTNAME___, for example,
gets replaced with the name of the project as it was typed in by the user into
the new project assistant." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sat Mar 19, 2011 12:53 am Post subject: |
|
|
MF - iOS Documentation in Xcode 4?
"... go into XCode | Preferences, under the Documentation tab, see if you
have GET buttons next to the iOS Libraries. If you do, click them and they
will download." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Oct 22, 2011 12:14 am Post subject: |
|
|
if(self = [super init]) - LLVM warning! How are you dealing with it?
"Bring up the project navigator and choose your project. In the main window
that appears, choose "All". Under the section "LLVM compiler 2.0 - Warnings",
choose "Other Warning Flags". Add the flag "Wno-idiomatic-parentheses" for
both Debug and Release."
Edit - "Missing Braces and Parentheses" is a better thing to use
Last edited by delovski on Sat Oct 22, 2011 2:53 am; edited 1 time in total |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sat Nov 05, 2011 6:53 pm Post subject: |
|
|
bugsense - Creating a framework for iOS
"The advantage of making a framework is that it makes life a lot easier for
our users. You just add the framework in your project and you’re good to
go. We can bundle images and XIB files without making installation more
complex." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Nov 17, 2011 1:53 am Post subject: |
|
|
so - Issue with iphone sdk 4.2.1
"warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1
(8C148a)/Symbols/System/Library/PrivateFrameworks/" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Tue Nov 22, 2011 11:21 pm Post subject: |
|
|
macworld.com - Restoring PPC, SDK 10.4/10.5 and GCC 4.0 Support to Xcode4
"Unfortunately Apple decided to drop support for PPC, SDKs 10.4/10.5 and
GCC 4.0 in Xcode4. This hasn't been done for technical reasons, though, but
only because Apple wanted to do that." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed Feb 08, 2012 7:44 pm Post subject: |
|
|
Miso Engineering - Work Efficiently With XCode
"Below are some tips and tricks I use in my everyday coding sessions. This
post has the beginner in mind, though I hope advanced and expert XCode
users may occasionally find something useful." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Mar 03, 2012 2:18 am Post subject: |
|
|
Touch Code Magazine - XCode 4 – an honest opinion
"I’ll be ranting in this post, so if you are not willing to take constructive
criticism towards Apple, do not read." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Mar 03, 2012 2:21 am Post subject: |
|
|
lists.apple.com - Xcode - An Apple Embarrassment
"Apple and Xcode are an embarrassment to professional software development." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu May 31, 2012 10:39 pm Post subject: |
|
|
Code: | static BOOL FBIsDeviceIPad() {
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
return YES;
}
#endif
return NO;
}
|
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Jun 01, 2012 10:52 am Post subject: |
|
|
so - How to unlink a framework on program start
"The problem is the Dropbox API requires at least iOS 4.2. Ok.
I decided to save the possibility of using the program under 3.1.3, but if
it is 4.2 and higher, there will be Dropbox functionality. ... When I link
Dropbox.framework to my project, the program works great on iPhone
Simulator, but it cannot be started on my iPhone 3.1.3.
Symbol not found: _kSecAttrAccessible from: Security.framework
...
Under 'Target Membership' change 'Required' to 'Optional.'" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Tue Aug 21, 2012 8:50 pm Post subject: |
|
|
so - Adding Older iOS SDKs to Xcode 4.1 in Lion
"Actually it is possible to add older SDKs as long as you can still get your
hands on an older version of Xcode with the older SDK." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Oct 19, 2012 7:16 pm Post subject: |
|
|
https://forums.dropbox.com - Rebuilding DropboxSDK for iOS
"Here's how the framework is built:
xcodebuild -configuration Release -target DropboxSDK
xcodebuild -configuration Release -target DropboxSDK -sdk iphonesimulator
cp -R DropboxSDK/build/Release-iphoneos/DropboxSDK.framework/ $(SDK_BUILD_DIR)/DropboxSDK.framework
lipo -output $(SDK_BUILD_DIR)/DropboxSDK.framework/DropboxSDK -create DropboxSDK/build/Release-iphoneos/DropboxSDK.framework/DropboxSDK -arch i386 DropboxSDK/build/Release-iphonesimulator/DropboxSDK.framework/DropboxSDK
Basically, you build the framework for the device and the simulator, and then use lipo on the resulting object files to create a fat binary." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Oct 31, 2013 1:35 am Post subject: |
|
|
Apple Support Forum - xcode 3.2.6 installation failed?
"I'm on OS 10.6.8 on a macbook air and trying to install the xcode 3.2.6 that
i downloaded from apple. I have plenty of free disk space. When I run the
installer I get the message: The Installation Failed. An unknown installation
error has occured. I've tried installing from a new admin user. I'm not sure
where to look or how to solve this problem. Any ideas?" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Aug 26, 2016 8:29 am Post subject: |
|
|
universalmind - What every iOS Developer Should Be Doing with Instruments
"You've just wrapped up development on a shiny new iOS project and
have done your best to ensure that the app doesn't crash and it seems to
run ok on your test devices, but is it ready to submit? If you haven't done
any profiling in Instruments, the answer is probably no. Just because it
doesn't crash doesn't mean that it's going to behave and run well on your
user's devices" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Jan 10, 2017 5:06 pm Post subject: |
|
|
wikihow.com - How to Make a DMG File on a Mac
"One way to store or group files on a Mac is to create a Disk Image. A Disk
Image is a file which has the properties of a separate hard drive or CD and
allows for greater password protection and compression. It has a size limit
and options for encryption to keep your files safe and secure. While there
are a few applications that perform this task for you, it is recommended
that you complete this process manually."
Apple - Disk Utility for Mac: Create a disk image using Disk Utility |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed May 17, 2017 9:08 am Post subject: |
|
|
adc - Exporting Your Framework Interface
"For ANSI C-based code, you can usually just prefix an underscore character
to the name of a function or variable to get the symbol name. For languages
like C++, which uses mangled symbol names, you may need to run the nm
tool to get the list of existing symbol names. Run nm with the -g option to
see the currently exported symbols. You can then copy the output from the
tool and paste it into your exports file, ..." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed May 24, 2017 9:33 am Post subject: |
|
|
jontolof - Using xcconfig files for your XCode Project
"Working as a developer you sooner or later will have to mess with the projects
build settings. It might be that you have to link to added frameworks or static
libraries, or that some of these need you to set other C flags or whatever.
Doing so changes the project file, and even though the structure of the project
file has greatly improved over the years, you often end up solving project file
conflicts manually. By moving these settings to explicit xcconfig files and telling
XCode to use these xcconfig files for the build process, your changes never
really messes with the project file, but instead you make changes to these Key-
Value text files."
More on SO: How to change output directory for a target
"This is what I put in an Xcode 6.2 .xcconfig file so intermediate files and
executables go into their "traditional" locations:"
Code: | // Intermediate build files go here
PROJECT_TEMP_DIR = $(SRCROOT)/build/$(PROJECT_NAME).build
// Build-related files for the active build configuration go here
CONFIGURATION_BUILD_DIR = $(SRCROOT)/build/$CONFIGURATION
// The final product executables and other build products go here
BUILT_PRODUCTS_DIR = $(SRCROOT)/build/$CONFIGURATION
|
Last edited by Ike on Thu Aug 03, 2017 10:52 am; edited 1 time in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed May 24, 2017 10:34 am Post subject: |
|
|
so - How exactly does __attribute__((constructor)) work?
"So, the way the constructors and destructors work is that the shared object
file contains special sections (.ctors and .dtors on ELF) which contain referen-
ces to the functions marked with the constructor and destructor attributes,
respectively. When the library is loaded/unloaded the dynamic loader program
(ld.so or somesuch) checks whether such sections exist, and if so, calls the
functions referenced therein." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Mon Jun 05, 2017 3:00 pm Post subject: |
|
|
git - facebook/xcbuild - Xcode-compatible build tool.
"xcbuild is an Xcode-compatible build tool with the goal of providing faster
builds, better documentation of the build process and running on multiple
platforms (in particular OS X and Linux)" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Fri Sep 15, 2017 2:45 pm Post subject: |
|
|
so - install_name_tool to update a executable to search for dylib in Mac OS X
"This is the command to accomplish the change:
install_name_tool -id "@loader_path/../lib/libtest.dylib" libtest.dylib
Or use rpath:
install_name_tool -id "@rpath/libtest.dylib" libtest.dylib
The binary tries to find the library, it knows where it is located from
install_name_tool -add_rpath "@loader_path/../lib" myapp. It loads the
library, and the library's id is @rpath/libtest.dylib where @rpath is set to
@loader_path/../lib in the executable binary to make the match." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Jan 24, 2018 10:31 pm Post subject: |
|
|
-Wno-idiomatic-parentheses // if (self = [self init]) |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Jun 01, 2018 11:15 am Post subject: |
|
|
iOS-factor
"A methodology for building high-quality iOS apps on a solid architecture
I. Dependencies
II. Config
III. Dev/prod parity
IV. Deployment
V. Prefer local over remote
VI. Backwards compatible APIs
VII. App versioning
VIII. Persistence of data" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sat Sep 21, 2019 2:01 pm Post subject: |
|
|
git - Using iOS 13/13.1 devices with Xcode 10.3 (instead of Xcode 11)
"The trick is to link the DeviceSupport folder from the beta to the stable
version. sudo needed if you run the Mac App Store version. Always download
the dmg instead... you'll thank me later "
Code: | sudo ln -s "/Applications/Xcode.opp/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0" |
Then if it gives you 'dyld_shared_cache_extract_dylibs failed' then creation of an empty file is needed in Xcode cache folder.
> Go to: ~/Library/Developer/Xcode/iOS DeviceSupport/#SDK-VERSION#/Symbols/System/Library/Caches/com.apple.dyld/
touch .processed_dyld_shared_cache_arm64e (or whatever is appropriate)
I created both. Source for the fix: Xcode 4.2: Error 0xC002 when trying to use a jailbroken iPhone 3G for development
In 2022:
so - The code signature version is no longer supported
"If signing through Xcode, you can add this flag to the Other Code Signing
Flags setting in the Build Settings tab."
In 2023:
Use Xcode 14 to run/debug code on iOS 17 or tvOS 17
Last edited by Ike on Sun Oct 29, 2023 11:25 am; edited 5 times in total |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Sep 23, 2019 5:04 pm Post subject: |
|
|
allaboutapps.at - Xcode Alternative Icons
"Xcode beta season is over but it's still the time of the year where iOS
developers usually have multiple Xcode version installed. Distinguishing
one from another isn't easy if you have multiple identical icons in the dock
and, like me, getting reminded by Xcode that your project's Swift version
isn't compatible." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sat Nov 06, 2021 8:01 am Post subject: |
|
|
git - XcodeBenchmark
"XcodeBenchmark is initially created for Max Tech YouTube channel to compare
the performance of new iMacs 2020.
I believe the results will help developers to make the right cost/performance
trade-off decision when choosing their next Mac." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Thu Apr 14, 2022 9:59 am Post subject: |
|
|
r - Issues with Mac M1 C library
"New in macOS Big Sur 11.0.1, the system ships with a built-in dynamic linker
cache of all system-provided libraries. As part of this change, copies of dynamic
libraries are no longer present on the filesystem." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Mon Jul 11, 2022 10:00 am Post subject: |
|
|
developer.apple.com - Xcode 10: iPhone has denied the launch request
"Solution 1: open System Prefrences -> Users & Groups -> Add a user account
(build with new user is successfully
Solution 2: open Keychain Access -> choose System, All Items -> delete
certificate Apple Worldwide Developer Relations Certification Authority"
And if adding the key fails:
Code: | security import priv_key.p12 -k ~/Library/Keychains/login.keychain |
Last edited by Ike on Tue Jul 12, 2022 8:16 pm; edited 2 times in total |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed Jun 21, 2023 6:02 pm Post subject: |
|
|
so - Preprocessor macro for OS X targets?
Code: | The documentation in TargetConditionals.h has this diagram (it seems, as of 2022; any platform):
+---------------------------------------------------------------------+
| TARGET_OS_MAC |
| +---+ +-----------------------------------------------+ +---------+ |
| | | | TARGET_OS_IPHONE | | | |
| | | | +---------------+ +----+ +-------+ +--------+ | | | |
| | | | | IOS | | | | | | | | | | |
| |OSX| | |+-------------+| | TV | | WATCH | | BRIDGE | | |DRIVERKIT| |
| | | | || MACCATALYST || | | | | | | | | | |
| | | | |+-------------+| | | | | | | | | | |
| | | | +---------------+ +----+ +-------+ +--------+ | | | |
| +---+ +-----------------------------------------------+ +---------+ |
+---------------------------------------------------------------------+
This tells us:
TARGET_OS_MAC will be 1 for (probably) any Cocoa application running on an Apple platform.
TARGET_OS_OSX will only be 1 for macOS targets
TARGET_OS_IPHONE will be 1 for any non-Mac Apple products
TARGET_OS_IOS is just for iOS
TARGET_OS_MACCATALYST is just for Project Catalyst. It seems TARGET_OS_UIKITFORMAC will also work.
TARGET_OS_TV is just for tvOS
TARGET_OS_WATCH is just for watchOS
TARGET_OS_BRIDGE is just for bridgeOS (which currently doesn't even support 3rd-party apps so you'll likely always see that be 0)
TARGET_OS_DRIVERKIT will be 1 when building for DriverKit
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sat Aug 19, 2023 8:13 am Post subject: |
|
|
adc - Build settings reference
"Show Diagnostic Output:
Setting name: REZ_SHOW_DEBUG_OUTPUT
Enabling this option causes version and progress information to be written
when compiling resource manager resources." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Mon Sep 11, 2023 12:59 pm Post subject: |
|
|
So, -Wno-unused-but-set-variable did not exist before but if I syncronize
projects with the Github, Xcode will have unrecognized flag warning so
-Wno-unknown-warning-option seems to do the trick
-Wall
-Wno-unused-variable
-Wno-parentheses
-Wno-unused-but-set-variable
-Wno-unknown-warning-option |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Mon Sep 11, 2023 10:39 pm Post subject: |
|
|
so - iOS scheme goes missing when I branch my project (Xcode 4.2)
"From my master branch, I exported the schemes I needed - I did by
navigating to Product > Scheme > Manage Schemes... on the Xcode menu.
I then selected the schemes I wanted to export (i.e. Development and
Release in my case). Finally, I chose the Export... option after clicking on
the gear icon as shown in the picture below." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Thu Sep 14, 2023 9:42 am Post subject: |
|
|
adc - Adding package dependencies to your app
"To add a package dependency to your Xcode project, select File > Add
Package Dependency and enter its repository URL. You can also navigate
to your target's General pane, and in the 'Frameworks, Libraries, and
Embedded Content' section, click the + button, select Add Other, and
choose Add Package Dependency." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Thu Feb 29, 2024 8:54 pm Post subject: |
|
|
Apple - Configuring a Project for SDK-Based Development
"You can use features from system versions later than the deployment target,
up to and including the OS version you've selected as your base SDK,
but you must check for the availability of new features, as described in Using
Weakly Linked Classes in iOS and Using Weakly Linked Methods and Functions.
For possible values and more information about build settings in Xcode, see
Building for Multiple Releases of an Operating System in Xcode Project
Management Guide, Xcode Build System Guide and Running Applications in iOS" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed Mar 27, 2024 8:11 pm Post subject: |
|
|
r - WORKAROUND: Slow debugging with Xcode 15 + iOS 17
1. Disconnect iPhone from USB cable if already connected
2. Put iPhone in airplane mode
3. Connect to USB cable and wait for Xcode to finish connecting to it
4. Take iPhone out of airplane mode |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed Aug 07, 2024 3:39 pm Post subject: |
|
|
so - CGContext invalid context 0x0
"Try this: In xcode add symbolic breakpoint to CGPostError. (Add symbolic
breakpoint, and to Symbol field type CGPostError)" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
|