build succeeded with no product

klaus filip's icon

i am trying to make my way compiling for arm64.
following all steps from Isabel Kaspriskie great tutorial for the SDK 8.2 i managed to build some examples.
got a mc.pack.mxo eg. among some others.
when i try to build mc.rotate~ though, my Xcode also prompts Build Succeeded but the Product was not created.
there is no error !
in the tree on the left in the Products folder, the mc.rotate~.mxo is red and nothing appears in the externals folder. (the usual path for the external is indicated on the right side of the xcode window)
this also happens with my objects, which is why i kindly ask for some advise.
thanks
klaus

11OLSEN's icon

Building mc.rotate~ works fine here. Product is created successfully. No idea what's wrong.

klaus filip's icon

thanks !
got it working, somehow i did not build the "ALL_BUILD".

PETE KELLOCK's icon

An update to this post.: I sorted it out.
It was just something to do with setting the build target.
--pete

I'm getting some weird behavior that sounds related. I carefully followed the build instructions (also by Isobel?) at
https://www.youtube.com/watch?v=il5WblTBUgs
and the (slightly different) instructions on the max-sdk GitHub page
https://github.com/Cycling74/max-sdk
I've been able to build a few of the externals: mc.rotate~.mxo, urner.mxo, plussz~.mxo and a few others.

But there's a weird problem. I understand max-sdk.xcodeproj in the max-sdk/build folder should build the whole set of demo externals. But when I open Xcode with that and then tell it to build (CMD-B), at best it builds *just one* external. As I try this multiple times, a *different* external will sometimes get built, apparently one chosen at random - but always just one at best (and often no new external is created, akin to what you're reporting here.
Same as you say, in all cases Xcode says "Build Succeeded" with the hammer icon, even when no new external ("product") is created.

When I try to build the externals one by one using the .xcodeproj files under max-sdk/build/source, it works a *bit* better, but again sometimes it says "Build Succeeded" and no new external is created.

I've tried the Product > Clean Build Folder option but no luck - same outcome.

Any thoughts on what's going on? I'm working on a 2019 MBPro (x86 CPU) running Big Sur with Xcode 13.12.1. I've loads of experience building stuff inside Max and I've coded in C & C++ in the past, but this is my first attempt to create Max externals and the tools here (Xcode, CMake, etc) are new to me.