Context: I’m engaged on an Xcode venture which includes a number of various things. Inside the venture there’s an iMessage app. The app leverages Open AI’s API to assist individuals write texts higher. It’s developed in Swift utilizing the MVC design and UIKit. I even have iPhone app inside the venture, which I constructed after the iMessage app. The iPhone app is supposed to accompany the iMessage app. The iPhone app incorporates a settings web page and a web page the place a person can enter their info. I exploit SwiftUI for the iPhone app and the MVVM design sample. Given the truth that the iPhone app and the iMessage app are related, they need to talk with one another and share information. I’ve a shared information container arrange between my iPhone app and iMessage app. The app group known as group.BTSharedData. The one information I have to share between the 2 apps is whether or not or not the toggle is on or off for sure voices within the iPhone app. I then want the iMessage extension to solely show the voices for which the toggles are on.
Now that you just perceive what I’m engaged on, I would like your assist determining a bug. The primary bug I bumped into was that my apps did not appear to be speaking with one another. I added print statements to see what was occurring, however observed that the print statements I added inside my iMessage app would not print out after I ran my venture. I first checked that I used to be constructing the right targets (which I used to be). This was alarming, however after some analysis, I figured that the difficulty have to be with my iPhone simulator and never with the precise code. To attempt to repair the simulator, I restarted it by erasing all content material and settings. This then result in a brand new concern:
My present concern: The primary iPhone app builds and runs fantastic. The issue is I am unable to get the iMessage app to even present up on the simulator. This occurred after I restarted the simulator by urgent the “erase all content material and settings”. I even tried with my very own iPhone by plugging it into the pc and I am unable to get the iMessage app to put in or present up. That is complicated to me as a result of the iMessage app was constructing and working fantastic earlier than.
I will offer you an inventory of issues I’ve tried to repair my points. Consider, that is my first time doing IOS growth so I do not absolutely perceive how every thing works.
Issues I’ve tried:
- updating and restarting Xcode
- resetting the simulator by erasing all content material and settings
- decreasing the IOS model for each targets
- elevating the IOS model for each targets
- all mixtures of construct schemas
- restarting and updating my mac
- testing the app on my iPhone
- restarting and updating my iPhone
- cleansing the construct folder
- All totally different units within the simulator
- Taking part in with privateness settings within the simulator
- Looking the online to see if anybody has an identical concern.
Chat GPT thread containing my messages to assist work out the bug:
https://chat.openai.com/share/4b5cf6d3-f4cc-4bfe-8a04-3495cee8d9d8
The hyperlink to the GPT thread incorporates all of the related code so to see what is occurring in my app. Let me know if there’s another context I can present you. I’ve spend many hours making an attempt to determine this bug with little or no progress.