I have been building an app clip using the Xcode 12 beta. According to the documentation the application should be less than 10MB, but I have no way of seeing if I am actually below this limit.
How do I see if the size of my iOS 14 app clip is below 10MB?
4.5k views Asked by Lucas van Dongen At
2
There are 2 answers
0
Lucas van Dongen
On
The app clip will be uploaded as a part of your regular app and is included in the archived version of your application. You can find out what the size is of your app clip if you take the following steps:
- If you archive your app, it will generate an entry in the Organizer (under Window).
- Right click that archive, then show it in the Finder.
- Right click the .xcarchive file, Show Package Contents
- Drill down through Products into Application
- Right click the application and Show Package Contents
- You'll find a folder name "AppClips" that has the app clip application
- Verify it's size
- If it's size is too big, again use Show Package Contents to analyze the contents of the App Clip
- The culprits are usually frameworks or assets files
Some ideas to prevent the size from billowing out of control:
- Use less or no external dependencies, so don't just copy the list of Cocoapods or packages of your main app
- If you shared assets between the app and the app clip verify that it doesn't contain anything you might not need
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in XCODE
- I am getting lots of errors when building react native app in Xcode
- Xcode commits (possibly outside of any branch) disappeared, how to get them back?
- Can't run built SFML project from Xcode template
- Postal Framework crash in iPhone but runs successfully in simulator
- React Native - RealmJS - Linker command failed with exit code 1
- how to install xcode on macos hight sierra without apple account
- Xcode: Can't Attach to process
- Issue with Xcode Target and settings for Apple Watch App
- There are no active runners online GitLab
- My project code not running in Xcode(15.3) but the same code running in Xcode 14.2 in swift how to fix in xcode 15.3?
- How to press and hold in Xcode simulator
- Memory management for image data storing and retrieving with SwiftData (or CoreData)
- Error: spawn flutter ENOENT in flutter build_runner
- Can a project using Crashlytics have a GoogleService-Info.plist file renamed to something else?
- What changed from xcode 13.2.1 to 14.2 that would affect an app's entitlements?
Related Questions in IOS14
- Create custom interactive tooltip in swiftUI
- Is it possible to disable the back navigation menu in SwiftUI?
- Set UITableViewCell secondaryText multiple lines
- Orientation issue occurs While Rotate landscape mode to portrait mode In SwiftUI
- Get height of a view inside ZStack in SwiftUI
- How to add Done button to Number Pad keyboard in swiftUI iOS 14
- Resolve: background(alignment:content:) is only available in iOS 15.0 or newer
- How to add axis titles with DGCharts in Swift?
- SwiftUI Interation with Widget on iOS 14
- Is there a way that I can use to create a Dynamic Sheet Height using in SwiftUI (iOS14.7)?
- conflicts with navigation view on SwiftUI
- iOS 13 ObservedObject is not updating the UI while StateObject doing same in iOS 14
- Issue with Combine when migrating to iOS 14
- iOS Universal Linking with Browsers other than Safari
- I can not debug ionic app on macOS ventura. What has changed?
Related Questions in XCARCHIVE
- How to bypass error in unsigned xcarchive?
- What is the "Distributions" section of .xcarchives Info.plist used for?
- Errors generating ipa or xcarchive ( Did you forget to declare this file as an output of a script phase or custom build rule which produces it? )
- What's the correct way to create an xcframework from a CocoaPod pod you own?
- Keep symbols when converting xcarchive to ipa
- How do I use fastlane to compile my iOS app into an .xcarchive, then separately sign and make an IPA?
- unsigned xcarchive aps environment missing
- How do I see if the size of my iOS 14 app clip is below 10MB?
- Xcode Post Archive Action - Archive Path Environment Variable
- CompileSwift normal arm64 when using `xcodebuild` to archive
- use cordova cli to generate xcarchive file
- How to include dSYM file of an embedded framework to an app archive
- xcarchive to ipa using msbuild command line
- How can I build on top of an XCArchive file?
- iOS - dSYMs for re-signed app
Related Questions in APPLE-APPCLIPS
- Testing App Clip in Testflight display 'The app clip is not currently in your country'
- AppsFlyer OneLink for iOS is referencing unwanted App Clip which can’t be removed
- How can we use passkit in frontend and stripe in the backend for apple pay implementation
- How to fix a broken appclip link? appclip popup has no text & image
- Appclip is unavailable
- Unhandled Exception: Connection failed in Flutter Xcode (AppClip)
- iOS App Clip Not Launching with Universal Link in SwiftUI
- Build number mismatch of iOS parent app and app clip
- App clip doesn't open for AppsFlyer OneLink
- AppClip not sending full invocation url to released application
- Flutter App Clip cannot make api requests
- App-clip and Instant App with Stripe payments using React Native
- Relationship between App Store Version, App Clip Default Experiences and App Clip Advanced Experiences in App Store Connect API
- IMessage can't show applicps banner after iOS 16.4
- Is it possible to open the app clip window from TestFlight?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I disagree with the
currentprevious accepted answer. It is certainly wrong since it includes the code for all architectures, maybe the bitcode and does not have the final compression from the app store. You should refer to Apple's guide on how to estimate the app size. Look here for "Create the App Size Report".tl;dr Find the clip size like this:
In the exported folder you will find a file called
App Thinning Size Report.txtIt now has 2 entries. One for your main app and one for your app clip. Look for a line like:
I assume the 10MB limit refers to the compressed size of the app since network traffic should be the limiting factor.Seems like my assumption was wrong, the 10MB limit refers to the uncompressed size according to an Apple Developer Technical Support Engineer. Refer to kanekins comment below for more details.