Post

Replies

Boosts

Views

Activity

Xcode Beta 3 compile error
Hello All: I dusted off some old code to bring up to date with the latest and greatest Xcode (16B3) and ran into this weird compile error. Doesn't appear to be actually in my code. The code is in Objective-C (I did say it was old). In file included from /Volumes/Hard Disk 2/Codewarrior Projects/iCollect For Mac and iPad/iCollect2/Classes/NSImage+Additions.mm:9: In file included from /Volumes/Hard Disk 2/Codewarrior Projects/iCollect For Mac and iPad/iCollect2/Classes/NSImage+Additions.h:10: In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Quartz.framework/Headers/Quartz.h:9: In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Quartz.framework/Headers/PDFKit.h:6: In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKit.h:21: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFDocument.h:26:53: error: expected identifier or '{' 26 | typedef NS_ENUM(NSUInteger, PDFSelectionGranularity); | ^ 1 error generated. Any ideas? I understand that Xcode is in beta now and if this is outside of the forum's scope, no problem. If a radar needs to be opened, I'll do that too if required. Thanks in advance for your time. All Best John
4
2
1.5k
Aug ’24
Built App location
Hi All: I've got a bash script to notarize and build my Developer ID based application. My 'build' command is: `xcodebuild -workspace "${WORKSPACE_DIR}MyGreatApp.xcworkspace" \ archive \ -scheme "MyGreatApp" \ -archivePath "${ARCHIVE_PATH}/MyGreatApp.xcarchive" ` This produces the required .xcarchive package. It goes to the notification server with: xcodebuild -exportArchive \ -archivePath "${ARCHIVE_PATH}/MyGreatApp.xcarchive" \ -exportOptionsPlist "${EXPORT_OPTIONS_PLIST_PATH}" \ -exportPath "${EXPORT_PATH_TO_APP}" Where export options are: <key>destination</key> <string>upload</string> <key>teamID</key> <string>XXXXXXXXX</string> <key>method</key> <string>developer-id</string> <key>signingStyle</key> <string>automatic</string> Now I need the app to use for our installer. Do I go into the .xcarchive to use that app? Do I re-export the archive with a different exportOptions so I get a 'new' app that I can package up? Or is there another step I that I am missing? Thanks in advance for your time Best Regards John
1
0
939
Mar ’22
hideDock Presentation option and multi monitor Macs
Hello: I'm having an issue with the .hideDock and multi monitor Macs. Basically, the dock is still accessible by dragging the mouse to the bottom of the secondary monitor. I do         NSApp.presentationOptions = self.lockDownPresentationOptions, where lockDownPresentationOptions is:     var lockDownPresentationOptions: NSApplication.PresentationOptions = [         .hideDock,         .hideMenuBar, ... and a bunch others] I thought it was related to the Full Screen attribute in the window inspector, I tried all of them with .hideDock and was always able to display the dock. Can someone point me to a URL that will show men how to fix this error, so that the dock will not show up on a Mac with any number of monitors? Thanks in advance for your time John
0
0
485
Jan ’22
Distribution of a Custom Mac OS Control
Hello all: I can't seem to find any documentation on how to package up and distribute a custom control. I would like the control to be available in the "Control Selector" - that little panel that pops up when you click the "+" sign when in Interface builder and shows available controls. The control will only be used in our applications, but it would be great to have something another developer can use rather than distributing source. Can some one point me to a URL that explains how? Thanks in advance for your time. John
2
0
619
Jan ’22
Xcode Beta 3 compile error
Hello All: I dusted off some old code to bring up to date with the latest and greatest Xcode (16B3) and ran into this weird compile error. Doesn't appear to be actually in my code. The code is in Objective-C (I did say it was old). In file included from /Volumes/Hard Disk 2/Codewarrior Projects/iCollect For Mac and iPad/iCollect2/Classes/NSImage+Additions.mm:9: In file included from /Volumes/Hard Disk 2/Codewarrior Projects/iCollect For Mac and iPad/iCollect2/Classes/NSImage+Additions.h:10: In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Quartz.framework/Headers/Quartz.h:9: In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Quartz.framework/Headers/PDFKit.h:6: In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKit.h:21: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFDocument.h:26:53: error: expected identifier or '{' 26 | typedef NS_ENUM(NSUInteger, PDFSelectionGranularity); | ^ 1 error generated. Any ideas? I understand that Xcode is in beta now and if this is outside of the forum's scope, no problem. If a radar needs to be opened, I'll do that too if required. Thanks in advance for your time. All Best John
Replies
4
Boosts
2
Views
1.5k
Activity
Aug ’24
Built App location
Hi All: I've got a bash script to notarize and build my Developer ID based application. My 'build' command is: `xcodebuild -workspace "${WORKSPACE_DIR}MyGreatApp.xcworkspace" \ archive \ -scheme "MyGreatApp" \ -archivePath "${ARCHIVE_PATH}/MyGreatApp.xcarchive" ` This produces the required .xcarchive package. It goes to the notification server with: xcodebuild -exportArchive \ -archivePath "${ARCHIVE_PATH}/MyGreatApp.xcarchive" \ -exportOptionsPlist "${EXPORT_OPTIONS_PLIST_PATH}" \ -exportPath "${EXPORT_PATH_TO_APP}" Where export options are: <key>destination</key> <string>upload</string> <key>teamID</key> <string>XXXXXXXXX</string> <key>method</key> <string>developer-id</string> <key>signingStyle</key> <string>automatic</string> Now I need the app to use for our installer. Do I go into the .xcarchive to use that app? Do I re-export the archive with a different exportOptions so I get a 'new' app that I can package up? Or is there another step I that I am missing? Thanks in advance for your time Best Regards John
Replies
1
Boosts
0
Views
939
Activity
Mar ’22
hideDock Presentation option and multi monitor Macs
Hello: I'm having an issue with the .hideDock and multi monitor Macs. Basically, the dock is still accessible by dragging the mouse to the bottom of the secondary monitor. I do         NSApp.presentationOptions = self.lockDownPresentationOptions, where lockDownPresentationOptions is:     var lockDownPresentationOptions: NSApplication.PresentationOptions = [         .hideDock,         .hideMenuBar, ... and a bunch others] I thought it was related to the Full Screen attribute in the window inspector, I tried all of them with .hideDock and was always able to display the dock. Can someone point me to a URL that will show men how to fix this error, so that the dock will not show up on a Mac with any number of monitors? Thanks in advance for your time John
Replies
0
Boosts
0
Views
485
Activity
Jan ’22
Distribution of a Custom Mac OS Control
Hello all: I can't seem to find any documentation on how to package up and distribute a custom control. I would like the control to be available in the "Control Selector" - that little panel that pops up when you click the "+" sign when in Interface builder and shows available controls. The control will only be used in our applications, but it would be great to have something another developer can use rather than distributing source. Can some one point me to a URL that explains how? Thanks in advance for your time. John
Replies
2
Boosts
0
Views
619
Activity
Jan ’22