Mac template target setting

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-12-21
05:40 AM
- last edited on
2023-07-12
08:56 PM
by
Doreena Deng
What setting should i use. Don't what to strip out everything from one of the examples such as the Geometry test. Looking for a easier solution.
Using Archicad 20 and the December release of the API. XCODE 8.2
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Labels:
-
Add-On (C++)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-12-23 10:04 PM
poco2013 wrote:Hi,
I'm trying to create a basic add-on on the MAC using the supplied template. It shows up fine in the initial creation menu but after the project is created, it is brought in without setting a target. According to the instructions, the template should be put into the "application plug-in" folder under the xcode paths. Which needed to be created per instructions. However, nothing shows up in the targets when i try to assign the target. Tried using the bundle target but it is not recognized by Archicad.
What setting should i use. Don't what to strip out everything from one of the examples such as the Geometry test. Looking for a easier solution.
Using Archicad 20 and the December release of the API. XCODE 8.2
That add-on template is not working too well with Xcode 8; one of my colleagues is working on it; we'll get back to you in the middle of January.
Best, Akos

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-01-17 01:28 PM
poco2013 wrote:Hi,
I'm trying to create a basic add-on on the MAC using the supplied template. It shows up fine in the initial creation menu but after the project is created, it is brought in without setting a target. According to the instructions, the template should be put into the "application plug-in" folder under the xcode paths. Which needed to be created per instructions. However, nothing shows up in the targets when i try to assign the target. Tried using the bundle target but it is not recognized by Archicad.
What setting should i use. Don't what to strip out everything from one of the examples such as the Geometry test. Looking for a easier solution.
Using Archicad 20 and the December release of the API. XCODE 8.2
I updated the XCode template for the ApiDevkit 20.
This update and other useful informations and news will be uploaded to the new http://archicadapi.graphisoft.com/ site.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-04-08 09:47 AM
I tried using the new API install and the add-On template listed for new projects under -- Crossplatform- OTHER- archicad Add-ON - but also no target is set. All the basic files are there however. -- Just will not compile to a bundle file. All the examples compile and run OK. But I am using the supplied xcoeproj file to load them - not supplied for the template?
I am sure this is just a build setting somewhere but don't know what.
The other problem is that Archicad does not supply a xcodeproj file for its most basic bare example -- so same problem if you're not familiar with the build settings
Any help would appreciated. -- If not, I guess I'll have to wait for 21??
Sierra 10.12.4 -- xcode 8.3.1
Windows 11 - Visual Studio 2022; ArchiCAD 27

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-04-18 10:09 AM
I tried to reproduce your problem with the attached template, but it works well on my computer.
That's all, what I did:
- I downloaded and uncompressed the template (xctemplate) file
- I copied it into the /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Mac/Application Extension/ folder. (Remove the previous template, if exists.)
- I opened the Xcode and clicked the "Create a new Xcode project" option.
- I chose the "macOS/ARCHICAD 20 Add-On" template and I filled out the fields .
- I saved the project in the installed API DEVKIT/Examples folder (this location is the recommended)
- After the project is generated I could click the build button immediately and it generated the .apx file successfully.
Which of these steps was not successful?
Bests.
Tamás

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-04-18 12:25 PM
Windows 11 - Visual Studio 2022; ArchiCAD 27

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-04-18 12:45 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-04-18 01:09 PM
The Archicad Add-On still shows up under Cross-platorm not macos and in listed in the application extension tab there.
Windows 11 - Visual Studio 2022; ArchiCAD 27