Mac Carbon |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Aug 29, 2006 10:29 pm Post subject: XCode and Libraries |
|
|
Question About XCode and Static Carbon Libraries
"After using CodeWarrior for years, I have finally been forced to make
the inevitable switch to XCode. I will spare everyone the gory details
but let it suffice to say that I almost threw up my hands in frustration
and simply gave up. This was not really an option so after putting it
off for 18 months I am finally making the attempt to get switched over
to XCode." |
|
Back to top |
|
|
Jean Jacques
Joined: 01 Jul 2006 Posts: 12
|
Posted: Fri Sep 01, 2006 6:30 pm Post subject: |
|
|
XCode and header file changes?
"I change a #define which exists in a header file but that file isn't in the
project.
Behavior: XCode appear to compile some files but during debugging I can
clearly see that the change wasn't seen. I end up having to do a Clean
and full Build to make the change effective" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Sep 07, 2006 11:08 am Post subject: |
|
|
Can't add a file to XCode project
"The files are still greyed out. The workaround was to drag & drop from
the Finder. I'm increasingly convinced that XCode is very immature
compared to Codewarrior. " |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Sep 26, 2006 3:53 pm Post subject: |
|
|
Indie Gamer: Mac programming
"Apps developed in earlier versions of the OS should work in later versions,
but there may be some quirks so you should always test. Apps developed
in X.4 will work in earlier versions, but only if you set the deployment
target in Xcode to an earlier system (just a simple flag). Also, you can't
require the use of technologies only available in later systems. Still, you'll
want to test on earlier systems to make sure everything works." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Oct 09, 2006 8:28 am Post subject: |
|
|
Help with linking error
"I know OS X is famous for it's linking errors when using C++ and make,
but I unfortunately have some legacy code which I would like to compile
and run on my OS X machine." |
|
Back to top |
|
|
XNote Kapetan
Joined: 16 Jun 2006 Posts: 532
|
Posted: Tue Oct 31, 2006 8:58 pm Post subject: |
|
|
C equivalent of cp, cpmac or ditto ?
"I have heard that this feature is broken, although I don't exactly recall
and I've never tested it. Beware when writing code that uses this, and
test it in weird situations like external drives, network volumes, etc.
The Trash is a complicated place." |
|
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 Nov 17, 2006 9:47 am Post subject: |
|
|
Completely puzzled vis-a-vis Carbon and Unix executables
"If I paste this code into an XCode "simple Carbon window" project (i.e.
into main.c) then it works as expected: it gives me a resizable,
movable, focusable window. But then, the end-result of building the
XCode project is a directory structure with some obscure resources and
an executable tucked underneath." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Jan 03, 2007 10:59 am Post subject: |
|
|
Help, no-go
"I'm using Xcode 2.4.1 and if I start a new Cocoa app, write no extra
code and so only use what was generated, build a release version (or
debug) and run it the app only runs on my machine and no other. (all are
PPC" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Feb 07, 2007 10:27 am Post subject: |
|
|
Carbon WebKit
"I've found a few references, and everything seems like it should be
easy, but I'm making some simple mistakes." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed May 16, 2007 1:42 pm Post subject: |
|
|
iDevApps: Path of library / GetModuleHandle() equivalent
"What kind of a library? You can use CFBundleGetBundleWithIdentifier to get
the system frameworks, and CFBundleCreate + CFBundleLoadExecutable to
load a plug-in. CFBundleCopyBundleURL is the function you want." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3043 Location: Europe
|
Posted: Tue Oct 14, 2008 5:11 pm Post subject: |
|
|
SO - How do I create a dynamic library (dylib) with Xcode?
"I'm building few command-line utilities in Xcode (plain C, no Cocoa). I want
all of them to use my customized version of libpng, and I want to save space
by sharing one copy of the library among all executables (I don't mind re-
distributing .dylib with them)." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3043 Location: Europe
|
Posted: Wed Jan 22, 2014 10:24 pm Post subject: |
|
|
github.com - soffes / ssziparchive
"Utility class for zipping and unzipping files on iOS and Mac"
Based on: ziparchive
"An Objective C class for zip/unzip on iPhone and Mac OSX" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3043 Location: Europe
|
Posted: Mon Apr 11, 2022 8:54 am Post subject: |
|
|
git - Tigerbrew
"On the computer you're reading this on, control or right click this link and
save it (the option will be something like 'Save Link As' or 'Download Linked
File' depending on your browser) to disk:
https://raw.github.com/mistydemeo/tigerbrew/go/install
Transfer it to your Tiger or Leopard machine along with Xcode."
tip: Building EDuke32 on Mac OS X
Code: | brew install --universal sdl sdl_mixer sdl2 sdl2_mixer homebrew/dupes/zlib libpng libogg libvorbis flac libvpx luajit |
lipo -create <file1> <file2> <...> -output <file> |
|
Back to top |
|
|
|