Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Xcode Project Updates to XCFrameworks C++17 - Bleeding Edge #7889

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
9d99e44
Xcode Project Updates to XCFrameworks C++17 - Bleeding Edge
danoli3 Feb 7, 2024
325fd40
macOS GitHub Actions Latest Libs
danoli3 Feb 8, 2024
f775c05
GitHub Actions
danoli3 Feb 9, 2024
ce5ecb4
macOS Download Libs Fix path no arch as xcframework merged
danoli3 Feb 9, 2024
4766ed6
macOS just one download latest libs
danoli3 Feb 9, 2024
6280408
Fixes #7781
danoli3 Feb 10, 2024
21d7334
Apothecary on Bleeding
danoli3 Feb 10, 2024
cf0eda7
macOS addon ofxSVG
danoli3 Feb 10, 2024
8b038ab
GitHub Actions - macOS disabled makefile until dupe fix
danoli3 Feb 10, 2024
d56ac8f
GitHub Actions
danoli3 Feb 10, 2024
81733aa
GitHub Actions macOS makefiles on
danoli3 Feb 11, 2024
2b33ce9
iOS Bleeding Latest
danoli3 Feb 12, 2024
59cf29f
iOS curl disabled for moment
danoli3 Feb 12, 2024
39154f0
iOS Download Libs / Actions and scripts for other platforms
danoli3 Feb 12, 2024
93488ea
Fix ofxAccelerometer / url off for tvOS
danoli3 Feb 12, 2024
86c25a0
Xcode Pbxproj to XML script - XML is required for PG to work for thes…
danoli3 Feb 12, 2024
bcdb4db
Xcode Project to XML iOS / macOS
danoli3 Feb 12, 2024
513bef5
tvOS Update Bleeding
danoli3 Feb 12, 2024
ab9ee87
Xcode Xchemas
danoli3 Feb 12, 2024
233b810
Revert "Xcode Project to XML iOS / macOS"
danoli3 Feb 15, 2024
41e5dc6
Xcode Project Updates to XCFrameworks C++17 - Bleeding Edge
danoli3 Feb 7, 2024
c38ba50
macOS GitHub Actions Latest Libs
danoli3 Feb 8, 2024
6dca9c9
GitHub Actions
danoli3 Feb 9, 2024
667c588
macOS just one download latest libs
danoli3 Feb 9, 2024
bbc202d
Fixes #7781
danoli3 Feb 10, 2024
a9a8ca0
Apothecary on Bleeding
danoli3 Feb 10, 2024
a9dd701
macOS addon ofxSVG
danoli3 Feb 10, 2024
b4444d0
GitHub Actions - macOS disabled makefile until dupe fix
danoli3 Feb 10, 2024
7ac3f6a
GitHub Actions
danoli3 Feb 10, 2024
e472e66
GitHub Actions macOS makefiles on
danoli3 Feb 11, 2024
69266f9
Download Libs macos
danoli3 Mar 13, 2024
7fa0756
macos download all targets
danoli3 Mar 13, 2024
5f645bf
macOS template against super mega xcframework
danoli3 Mar 13, 2024
26025f7
Compiler scripts for macOS / Actions
danoli3 Mar 13, 2024
aa5c53d
Merge branch 'branch_bleedingiOS' into branch_bleedingmacOS
danoli3 Mar 13, 2024
b3f0e0f
Fix download / addons
danoli3 Mar 14, 2024
e7b683e
iOS Project Update Link to Mega
danoli3 Mar 14, 2024
0cf2eaf
Actions ios to libs macos download
danoli3 Mar 14, 2024
1f2d0d5
tvos
danoli3 Mar 14, 2024
f7c62eb
tvOS Code - Add temp url loader
danoli3 Mar 16, 2024
b5a5851
tvOS Project Working
danoli3 Mar 16, 2024
216f257
Fix ofURLFileLoader
danoli3 Mar 16, 2024
3cb3946
tvOS Schema
danoli3 Mar 16, 2024
8e1ba02
tvOS Fix
danoli3 Mar 18, 2024
eb20aba
OpenAL Disabled for Sims
danoli3 Mar 18, 2024
846baaf
tvOS Actions +
danoli3 Mar 21, 2024
f103c8e
Project Changes iPhone to iOS. openFrameworksLib to OSX+OFLib
danoli3 Mar 22, 2024
a15e69d
macOS Super Mega Framework Project all Targets
danoli3 Mar 22, 2024
e40a9f8
Major Preprocessor Defines for Ability to Scope out platform and feat…
danoli3 Mar 22, 2024
49a4798
Create Package Nightly Fixes for macOS
danoli3 Mar 22, 2024
9aede42
iOS Compiling - More Define Fixes
danoli3 Mar 22, 2024
a37c3c5
tvOS Compiling - fixed defines
danoli3 Mar 22, 2024
56fa145
Define Updates
danoli3 Mar 23, 2024
491ffe0
Obj-C Fixing
danoli3 Mar 23, 2024
08b31af
Cairo Include Fix
danoli3 Mar 23, 2024
7bfc579
macOS Nightly package
danoli3 Mar 23, 2024
4a54492
macos project changes
danoli3 Mar 23, 2024
a2c2af5
Revert "macos project changes"
danoli3 Mar 23, 2024
17d26c5
Mega Project Changes
danoli3 May 16, 2024
ae7412b
Mega Project Assets
danoli3 May 16, 2024
e43f7c5
Merge commit '7f37e70f65e9e022ba8868fb555570ce2c78a6ba' into branch_b…
danoli3 May 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/actions/build-ios-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ env:

jobs:
build-ios-tvos:
runs-on: macos-13
runs-on: macos-14
strategy:
matrix:
cfg:
- {target: ios, libs: ios}
#- {target: tvos, libs: ios} #broken currently maybe better to just remove
- {target: ios, libs: macos}
- {target: tvos, libs: macos}
env:
TARGET: ${{matrix.cfg.target}}
steps:
Expand All @@ -38,11 +38,11 @@ jobs:
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}

- name: Download libs
run: ./scripts/${{matrix.cfg.libs}}/download_libs.sh
run: ./scripts/${{matrix.cfg.libs}}/download_latest_libs.sh
- name: install
run: ./scripts/ci/$TARGET/install.sh
- name: Build
run: ./scripts/ci/$TARGET/build.sh;

env:
DEVELOPER_DIR: "/Applications/Xcode_15.2.app/Contents/Developer"
DEVELOPER_DIR: "/Applications/Xcode.app/Contents/Developer"
12 changes: 4 additions & 8 deletions .github/workflows/actions/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ env:

jobs:
build-macos:
runs-on: macos-13
runs-on: macos-14
strategy:
matrix:
cfg:
- {target: osx, opt: "xcode"}
- {target: osx, opt: "makefiles"}
- {target: macos, opt: "xcode"}
# - {target: macos, opt: "makefiles"}
steps:
- uses: actions/checkout@v4
- name: ccache
Expand All @@ -37,13 +37,9 @@ jobs:
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.opt }}
# key: ${{ matrix.msystem }}


- name: Download libs
# continue-on-error: true
run: ./scripts/${{ matrix.cfg.target }}/download_libs.sh
# - name: rm-dev
# run: sudo rm -rf /Library/Developer

run: ./scripts/${{ matrix.cfg.target }}/download_latest_libs.sh
# this step is not needed here because the script is empty
# - name: install
# run: ./scripts/ci/$TARGET/install.sh
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,6 @@ examples/**/config.make
libs/openFrameworksCompiled/project/vs/.vs/
scripts/templates/vs/.vs/
**/.vs/
libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj/xcshareddata
scripts/templates/ios/bin
libs/openFrameworksCompiled/project/tvOS/tvOS+OFLib.xcodeproj/xcshareddata
1 change: 1 addition & 0 deletions addons/ofxAccelerometer/src/ofxAccelerometer.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "ofTypes.h"
#include "ofPoint.h"
#include "ofEvents.h"
#include "ofMathConstants.h"

typedef void (*ofxAccelCB)(ofPoint&); // typedef for accelerometer callback

Expand Down
4 changes: 2 additions & 2 deletions addons/ofxSvg/addon_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ common:
# ADDON_LIBS_EXCLUDE =

osx:
ADDON_LIBS = libs/svgtiny/lib/osx/svgtiny.a
ADDON_LIBS += libs/libxml2/lib/osx/xml2.a
# ADDON_LIBS = libs/svgtiny/lib/osx/svgtiny.a
# ADDON_LIBS += libs/libxml2/lib/osx/xml2.a

ios:
ADDON_LIBS = libs/svgtiny/lib/ios/svgtiny.a
Expand Down
4 changes: 3 additions & 1 deletion addons/ofxiOS/src/app/ofAppiOSWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
* ***********************************************************************/

#pragma once
#include "ofxiOSConstants.h"
#if defined(TARGET_OF_IOS)
#include <TargetConditionals.h>
#include "ofAppBaseWindow.h"
#include "ofxiOSConstants.h"
Expand Down Expand Up @@ -284,5 +286,5 @@ class ofAppiOSWindow : public ofAppBaseGLESWindow {
[[deprecated("use ofAppiOSWindow")]]
typedef ofAppiOSWindow ofAppiPhoneWindow;


#endif

4 changes: 4 additions & 0 deletions addons/ofxiOS/src/app/ofAppiOSWindow.mm
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
*
* ***********************************************************************/
#include <TargetConditionals.h>
#include "ofxiOSConstants.h"
#if defined(TARGET_OF_IOS)
#include "ofAppiOSWindow.h"
#include "ofGLRenderer.h"
#include "ofGLProgrammableRenderer.h"
Expand Down Expand Up @@ -486,3 +488,5 @@
ofiOSWindowSettings & ofAppiOSWindow::getSettings() {
return settings;
}

#endif
4 changes: 4 additions & 0 deletions addons/ofxiOS/src/app/ofxiOSApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*/

#pragma once
#include "ofxiOSConstants.h"
#if defined(TARGET_OF_IOS)

#include "ofBaseApp.h"
#include "ofxiOSAlerts.h"
Expand Down Expand Up @@ -51,3 +53,5 @@ class ofxiOSApp : public ofBaseApp, public ofxiOSAlertsListener {

[[deprecated("use ofxiOSApp")]]
typedef ofxiOSApp ofxiPhoneApp;

#endif
7 changes: 4 additions & 3 deletions addons/ofxiOS/src/core/ofxiOSAppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
* ***********************************************************************/

#pragma once

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT)
#include <TargetConditionals.h>
#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)
#if defined(TARGET_OS_IOS) || (TARGET_OS_IPHONE && !TARGET_OS_TV)

#import <UIKit/UIKit.h>

Expand Down Expand Up @@ -65,4 +66,4 @@
#define ofxiPhoneAppDelegate ofxiOSAppDelegate

#endif

#endif
5 changes: 2 additions & 3 deletions addons/ofxiOS/src/core/ofxiOSAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
*
* ***********************************************************************/

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)
#import "ofxiOSAppDelegate.h"

#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)

#import "ofxiOSViewController.h"
#import "ofxiOSGLKViewController.h"
#import "ofxiOSExternalDisplay.h"
Expand Down
4 changes: 4 additions & 0 deletions addons/ofxiOS/src/core/ofxiOSEAGLView.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
//

#pragma once

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT)
#include <TargetConditionals.h>
#import <UIKit/UIKit.h>
#import "EAGLView.h"
Expand Down Expand Up @@ -40,3 +43,4 @@ class ofAppiOSWindow;
@end

#define ofxiPhoneEAGLView ofxiOSEAGLView
#endif
3 changes: 3 additions & 0 deletions addons/ofxiOS/src/core/ofxiOSEAGLView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Created by lukasz karluk on 5/07/12.
//

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(TARGET_OF_IOS)
#include "ofxiOSEAGLView.h"
#include "ofxiOSApp.h"
#include "ofAppiOSWindow.h"
Expand Down Expand Up @@ -389,3 +391,4 @@ - (void)touchesCancelled:(NSSet *)touches


@end
#endif
6 changes: 4 additions & 2 deletions addons/ofxiOS/src/core/ofxiOSGLKView.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
//
// Created by Dan Rosser on 7/3/18.
//


#pragma once
#include "ofxiOSConstants.h"
#include <TargetConditionals.h>
#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT) && defined(TARGET_OF_IOS)
#import <UIKit/UIKit.h>
#import "EAGLKView.h"
#include <glm/glm.hpp>
Expand Down Expand Up @@ -48,3 +49,4 @@ class ofAppiOSWindow;
@end

#define ofxiPhoneEAGLView ofxiOSEAGLView
#endif
4 changes: 3 additions & 1 deletion addons/ofxiOS/src/core/ofxiOSGLKView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
//
// Created by Dan Rosser on 7/3/18.
//

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT) && defined(TARGET_OF_IOS)
#include "ofxiOSGLKView.h"
#include "ofxiOSApp.h"
#include "ofAppiOSWindow.h"
Expand Down Expand Up @@ -401,3 +402,4 @@ - (UIImage*)getSnapshot {


@end
#endif
3 changes: 3 additions & 0 deletions addons/ofxiOS/src/core/ofxiOSGLKViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#pragma once

#include <TargetConditionals.h>
#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT)
#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)

#import <UIKit/UIKit.h>
Expand Down Expand Up @@ -41,3 +43,4 @@ class ofxiOSApp;


#endif /* ofxiOSGLKViewController_h */
#endif
3 changes: 3 additions & 0 deletions addons/ofxiOS/src/core/ofxiOSGLKViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
//

#include <TargetConditionals.h>
#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT)
#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)

#import "ofxiOSGLKViewController.h"
Expand Down Expand Up @@ -470,3 +472,4 @@ - (void)setMSAA:(bool)value {
@end

#endif
#endif
8 changes: 6 additions & 2 deletions addons/ofxiOS/src/core/ofxiOSViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@

#include <TargetConditionals.h>
#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT)
#import <UIKit/UIKit.h>

#import "EAGLView.h"
#import "ofxiOSEAGLView.h"
class ofxiOSApp;
@class ofxiOSEAGLView;
@class EAGLViewDelegate;

@interface ofxiOSViewController : UIViewController

Expand All @@ -31,3 +34,4 @@ class ofxiOSApp;
#define ofxPhoneViewController ofxiOSViewController

#endif
#endif
7 changes: 5 additions & 2 deletions addons/ofxiOS/src/core/ofxiOSViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
//

#include <TargetConditionals.h>
#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV)

#include "ofxiOSConstants.h"
#if TARGET_OS_IOS || (TARGET_OS_IPHONE && !TARGET_OS_TV) && !defined(TARGET_OF_MACOS)
#if defined(OF_UI_KIT)
#import <QuartzCore/QuartzCore.h>

#include "ofxiOSViewController.h"
#include "ofxiOSEAGLView.h"
#include "ofAppiOSWindow.h"
#import "ofxiOSExtras.h"


@interface ofxiOSViewController() <EAGLViewDelegate> {
UIInterfaceOrientation currentInterfaceOrientation;
UIInterfaceOrientation pendingInterfaceOrientation;
Expand Down Expand Up @@ -386,3 +388,4 @@ -(BOOL)prefersStatusBarHidden{
@end

#endif
#endif
1 change: 0 additions & 1 deletion addons/ofxiOS/src/events/ofxiOSAlertsListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* ***********************************************************************/

#pragma once

#include <string>

/****** protocol, delegate, interface, whatever you want to call it ******/
Expand Down
6 changes: 4 additions & 2 deletions addons/ofxiOS/src/gl/EAGLKView.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// Created by Dan Rosser on 7/3/18.
//


#pragma once

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT)
#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>
#import "ESRenderer.h"
Expand Down Expand Up @@ -71,3 +71,5 @@
- (void)notifyResized;

@end

#endif
7 changes: 4 additions & 3 deletions addons/ofxiOS/src/gl/EAGLKView.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
//
// Created by Dan Rosser on 7/3/18.
//

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT)
#include <TargetConditionals.h>

#import "EAGLKView.h"

#import "ES1Renderer.h"
#import "ES2Renderer.h"

Expand Down Expand Up @@ -183,3 +182,5 @@ - (void) notifyResized {


@end

#endif
5 changes: 4 additions & 1 deletion addons/ofxiOS/src/gl/EAGLView.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
* ***********************************************************************/

#pragma once

#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT)
#import <UIKit/UIKit.h>
#import "ESRenderer.h"

Expand Down Expand Up @@ -108,3 +109,5 @@
- (void)notifyResized;

@end

#endif
9 changes: 4 additions & 5 deletions addons/ofxiOS/src/gl/EAGLView.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@
*
* ***********************************************************************/


#include "ofxiOSConstants.h"
#if defined(OF_UI_KIT) && defined(OF_GL_KIT)
#import "EAGLView.h"
#import <QuartzCore/QuartzCore.h>

#include <TargetConditionals.h>

#import "EAGLView.h"

#import "ES1Renderer.h"
#import "ES2Renderer.h"

Expand Down Expand Up @@ -344,3 +342,4 @@ - (void) notifyResized {


@end
#endif