1 file changed
+30
-30
.github/workflows/verify-sdk-apple.yml
+30
-30
@@ -183,36 +183,36 @@ jobs:
183
cp "${lib_input}" "${framework_output}/smbcloud_authFFI"
184
cp "${headers_dir}/smbcloud_authFFI.h" "${framework_output}/Headers/smbcloud_authFFI.h"
185
186
- cat > "${framework_output}/Modules/module.modulemap" <<'EOF'
187
- framework module smbcloud_authFFI {
188
- header "smbcloud_authFFI.h"
189
- export *
190
- use "Darwin"
191
- use "_Builtin_stdbool"
192
- use "_Builtin_stdint"
193
- }
194
- EOF
195
-
196
- cat > "${framework_output}/Info.plist" <<'EOF'
197
- <?xml version="1.0" encoding="UTF-8"?>
198
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
199
- <plist version="1.0">
200
- <dict>
201
- <key>CFBundleIdentifier</key>
202
- <string>xyz.smbcloud.smbcloud-auth-ffi</string>
203
- <key>CFBundleName</key>
204
- <string>smbcloud_authFFI</string>
205
- <key>CFBundleExecutable</key>
206
- <string>smbcloud_authFFI</string>
207
- <key>CFBundlePackageType</key>
208
- <string>FMWK</string>
209
- <key>CFBundleShortVersionString</key>
210
- <string>dev</string>
211
- <key>CFBundleVersion</key>
212
- <string>1</string>
213
- </dict>
214
- </plist>
215
- EOF
186
+ printf '%s\n' \
187
+ 'framework module smbcloud_authFFI {' \
188
+ ' header "smbcloud_authFFI.h"' \
189
+ ' export *' \
190
+ ' use "Darwin"' \
191
+ ' use "_Builtin_stdbool"' \
192
+ ' use "_Builtin_stdint"' \
193
+ '}' \
194
+ > "${framework_output}/Modules/module.modulemap"
195
+
196
+ printf '%s\n' \
197
+ '<?xml version="1.0" encoding="UTF-8"?>' \
198
+ '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">' \
199
+ '<plist version="1.0">' \
200
+ '<dict>' \
201
+ ' <key>CFBundleIdentifier</key>' \
202
+ ' <string>xyz.smbcloud.smbcloud-auth-ffi</string>' \
203
+ ' <key>CFBundleName</key>' \
204
+ ' <string>smbcloud_authFFI</string>' \
205
+ ' <key>CFBundleExecutable</key>' \
206
+ ' <string>smbcloud_authFFI</string>' \
207
+ ' <key>CFBundlePackageType</key>' \
208
+ ' <string>FMWK</string>' \
209
+ ' <key>CFBundleShortVersionString</key>' \
210
+ ' <string>dev</string>' \
211
+ ' <key>CFBundleVersion</key>' \
212
+ ' <string>1</string>' \
213
+ '</dict>' \
214
+ '</plist>' \
215
+ > "${framework_output}/Info.plist"
216
}
217
218
stage_framework \