This guide explains how to export your Despia application as a complete Xcode project, giving you full access to the native Swift code.
Overview
Despia's Xcode Export feature allows you to download your entire iOS project, including all source files and dependencies. This enables advanced developers to:
-
Make low-level modifications to the native code
-
Integrate additional third-party libraries
-
Configure custom build settings
-
Deploy directly through Xcode
Note: This approach is recommended for experienced iOS developers who are comfortable working with Xcode and Swift. If you're not familiar with iOS development, we recommend using the Auto Publish option instead.
Export Process
Access the Export Option
-
Log in to your Despia dashboard
-
Open your project
-
Click on the Export Project button in the top navigation bar
Select Swift Project
In the export modal that appears:
-
Click on the Swift Project option
-
You'll see a preview of some of the native Swift code that will be included in your export
-
Review the folder structure displayed in the preview panel
Export Source Code
-
Click the Export Source Code + Dependencies button at the bottom of the modal
-
Your browser will download a ZIP file containing your complete Xcode project
-
The download may take a few moments depending on your project size and connection speed
Working with the Exported Project
Opening in Xcode
-
Extract the downloaded ZIP file to a location on your Mac
-
Double-click the
.xcworkspace
file -
Xcode will open your project
-
Wait for Xcode to complete indexing the project
Working with the Project
The exported project follows standard iOS project architecture and contains all the necessary components to build and deploy your application. Once opened in Xcode, you'll have access to the complete source code, resources, and configuration files that make up your app.
Xcode will automatically organize the project into its standard navigator view, making it easy to browse through the different sections of your application.
Making Modifications
When modifying the exported project:
-
Make your desired changes to the code or configuration
-
Test thoroughly on simulators and physical devices if available
-
Build and archive your application using Xcode's built-in tools
-
Submit to the App Store following the standard submission process
Important Notes:
-
Once you export and modify the project outside of Despia, those changes won't automatically sync back to your Despia project
-
Consider using version control (like Git) to track your changes
-
The exported project contains all the necessary dependencies and configurations to build a complete iOS application
Publishing Your Modified App
After making your modifications:
-
In Xcode, select your target and ensure signing is configured correctly
-
Select Product > Archive to create an archive of your application
-
Use the Xcode Organizer to upload your build to App Store Connect
-
Complete the submission process in App Store Connect
Getting Help
If you encounter any issues with the exported project:
-
Check that you have the latest version of Xcode installed
-
Ensure all dependencies are properly linked
-
Verify that your Apple Developer account is correctly configured in Xcode
For additional assistance:
-
Contact us at support@despia.com
-
Use the chat support in your Despia dashboard
We're happy to help with any questions about the export process, though extensive custom development assistance may be outside our support scope.
Remember that this option is primarily for advanced developers who need direct access to the native code. For a simpler publishing experience, consider using our Auto Publish feature instead.