expo-juce 0.2.2 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/ExpoJuce.podspec +7 -5
- package/ios/JuceConfig.h +7 -0
- package/package.json +1 -1
package/ios/ExpoJuce.podspec
CHANGED
|
@@ -17,12 +17,14 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
|
|
18
18
|
s.dependency 'ExpoModulesCore'
|
|
19
19
|
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
|
|
20
|
+
# Only OUR source files — not JUCE subdirectories.
|
|
21
|
+
# JUCE headers must NOT be in source_files or CocoaPods adds them to the
|
|
22
|
+
# module map, where they fail to compile standalone (missing FLT_MAX etc).
|
|
23
|
+
# JuceModules.mm #includes the JUCE .cpp files via amalgamation;
|
|
24
|
+
# JUCE headers are found via HEADER_SEARCH_PATHS.
|
|
25
|
+
s.source_files = "*.{h,m,mm,swift}"
|
|
24
26
|
|
|
25
|
-
# JUCE
|
|
27
|
+
# Keep JUCE sources on disk so the compiler can find them via #include
|
|
26
28
|
s.preserve_paths = "juce_modules/**"
|
|
27
29
|
|
|
28
30
|
# iOS frameworks required by JUCE modules + our AVAudioEngine code
|
package/ios/JuceConfig.h
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
+
// Xcode 16+ clang no longer implicitly includes these —
|
|
4
|
+
// JUCE uses FLT_MAX, FLT_MIN, INT_MAX, etc. throughout.
|
|
5
|
+
#include <cfloat>
|
|
6
|
+
#include <climits>
|
|
7
|
+
#include <cstdint>
|
|
8
|
+
#include <cmath>
|
|
9
|
+
|
|
3
10
|
// Tell JUCE that global module settings are configured
|
|
4
11
|
#define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1
|
|
5
12
|
|